HTML which stands for Hyper Text Markup Language is the standard markup language for giving the structure to any webpage. In other words, it is the standard for structuring and presenting the content of www.
HTML5 is the latest version or the major version of HTML standard after leaving behind the HTML 4.01, XHTML1.0 and etc. This latest version is much more easier then any other versions.
Many new features are been added here in HTML5, which are as follows:-
Every latest version of Apple Safari, Mozilla Firefox, Internet Explorer (version above then 9.0) and Google chrome.
<address> tag is used to contain the contact details and residential or official address of the author. And it mainly change the font style to italic.
We can able to change the different link color as follows:-
We can able to align the elements through align attribute here. For example:- <h1 align=”center”>MSB BHOLE </h1>
Although both are used for quotations but:-
There are 2 ways by which we can achieve the list and these are as follows:-
Yes sure, we can able to start our list from ‘A’ by using the attribute- type=”A” inside ordered list. For example:- <ol type=”A”>
Yes, we can able to create our table through <table> tag, where:-
Img (<img/>) tag which don't have any closing tag, is used for placing the image inside the webpage.
Yes, we can able to achieve the background color and cell padding of the table through attributes and these are as follows:-
Comments are generally use to make the code more understandable. We basically use it for documenting our code. If in the team, we are developing any website or project then through comments we can notify or alert or specify any message to other team members.
Map (<map>) tag is used to define the client-side image map. An image-map is an image with clickable areas. So inside any image through map (<map>) tag, we can particularly give links to any specific area inside the image and just by clicking there, we can able to go or visit directly to different website, page or section etc.
We can able to include any mp3, ogg and wav file in any webpage by simply using the audio tag (<audio>). Inside the audio tag, include the location of your audio file inside the src attribute.
For example:- <audio controls="controls" src="audio.mp3"></audio>
We can able to include any mp4, ogg and Web M file in any webpage by simply using the video tag (<video>). Inside the video tag, include the location of your video file inside the src attribute.
For example:- <video controls="controls" src="video.mp4"></video>
Through Form tag (<form>), we can generally build-up the contact form, from where we can ask the details from our user like Name, email, password and their queries.
Yes, I can able to make the color picker by using the input tag with having the attribute- type=”color”.
For example:- <input type=”color”/>
This attribute on <input> tag as well as in <textarea> tag use to provide some type of hint or idea to the user, so that more clearly they can understand what they need to fill inside that particular field of form.
It is used to accept only the email value from the user, which only contains the abc@xyz.com format. Just by using it that particular input field only contains the e-mail address.
Cookies can be the small blocks of data, which is been created by the web server whenever any user browsing any website. So that files which is been created by the sites which you visited is known as the Cookies.
sessionStorage properties generally allows to save the data in key or value pairs in the web browser. But here in the Session Storage, the data is been stored for a particular session, as soon as the browser is been closed it automatically kills the stored data.
localStorage properties generally allows to save the data in key or value pairs in the web browser. But here in the Local Storage, the data is been stored without any expiration date means this data will be available till next year until it is been deleted.
It just define any independent piece of content of document such as blog or newspaper article.
When the webpage automatically gets update from a server then, it is known as Server-Sent events.
We can use (rowspan = "3") as an attribute inside that particular table row (tr), where we want to merge off 3 rows together.
HTML elements that do not have any closing tags are known to be the void elements. For example:- (<br/>, <img/> & <hr/>)
The small image that displayed next to the page title in the browser tab is known as Favicon.
There are mainly two types of lists which are as follows:-
There are mainly three types of Doctype which are as follows:-
<head> tag is use to provide the information about the document. It contains the metadata about the webpages and the tags which are enclosed inside the head tag like <link>, <meta>, <style> and <script> etc. which must not displayed on the web page.
<body> tag defines the body of the HTML document. It contains the content and information about the wepages and the tags which are enclosed inside the <img>, <text>, <p> and <video> etc. which must need to display on the web page.
<a> anchor tag is used to create a hyperlink to another webpage or any part of the webpage or any other websites.
Image Map (<map>) tag is used for linking different parts of any particular image to different webpages or website. We can also specify any particular shape inside an image which is been any clickable area which has also link inside.
Yes, HTML5 have the drag and drop functionality. We can able to achieve this drag and drop functionality using the drag and drop-related events.
Mainly 3 types of video file formats are acceptable here and these are following:-
Mainly 3 types of audio file formats are acceptable here and these are following:-
MathML stands for Mathematical Markup Language. If we want to display the mathematical expressions on web page, then we can use the MathML element.
To share the physical location of any client with website we use this Geolocation API. Based on the client location we can provide a unique experience to the user and can win the heart of our client.
Yes, we can create a nested webpage in HTML. And this we can able to achieve by using the iframe tag.
If we want to put a scrolling text in our webpage then we can use this (<marquee>) tag.
<datalist> tag:- inside the input controls if we want to specify the different list of options.
<keygen> tag:- this tag is use to represent a key-pair generation field.
If we want to collect the information of the visitors to the webpage, then we can add the form to the webpage. Also It can use to collect the user input.
HTML | HTML5 |
---|---|
No support for SVF and other vector graphics. | It supports SVG (Scalable Vector Graphics), canvas and other virtual vector graphics. |
Low storage efficiency. | High storage efficiency. |
It's not a mobile friendly markup language. | It's more mobile friendly markup language then HTML. |
Doctype declaration are too long here. | Doctype declaration is quite easy and simple. |
Doesn't allow JavaScript to run in the browser. | Allow JavaScript to run in the browser. |
HTML4 | HTML5 |
---|---|
It has less simplified text. | It has more simplified text. |
Doesn't support local storage. | Support local storage. |
Can't able to embed video and audio here. | Easily able to embed video and audio here. |
Doctype declaration are too long here. | Doctype declaration is quite easy and simple. |
Not capable of handling error cause of it's inaccurate syntax. | Capable of handling inaccurate syntax error. |