What is HTML5?
How do you insert a comment in HTML?
What are the key new features in HTML5?
<header>, <footer>, <section>, <article> and <figure>.<input> tag.Explain new Form input types in HTML5?
Date: This is a Date picker, we can pick a date by using type = “date”.Week: This is a Week picker, we can pick a week by using type = “week”.Month: This is a Month picker, we can pick a month by using type = “month”.Time: This is a Time picker, we can pick the time by using type = “time”.Datetime: This is a combined date and time, we can pick the combination of date and time by using type = “datetime”.Datetime-local: A combined local date and time, we can pick the combination of local date and time using type = “DateTime-local”.Email: Allows one or more Email Addresses, we can enter multiple email addresses using type = “email”.Tel: Allows different phone numbers around the world. A phone number is validated by the client-side. We can enter a phone number using type = “tel”.Search: Allows to search queries by input text. We can enter multiple queries using type = “search”.Number: Allows inserting a numerical value with additional attributes such as min, max. etc., and we can enter multiple numerical values using type = “number”.Url: A url input type, that is used for the web address. In a single url, we can use multiple attributes using type = “url”.Color: Allows to select multiple colors, we can pic multiple color using type = “color”.Range: Allows to insert a numerical value within a specific range, Range is similar to the number but it is much specific. We can enter a numerical value within a range using type = “range”.Placeholder: Allows to display a short hint (usually in a light color) in the input fields, before we enter the value. We can write a short hint in the input field by using type = “placeholder”What are HTML Attributes?
name=”value”.href attribute — The <a> tag defines a hyperlink. The href attribute specifies the URL of the page the link goes to.Can a web page contain multiple <header> or <footer> elements?
<header> and <footer> tags are designed to serve their respective purposes in relation to whatever their parent “section” may be. So not only can the page <body> contain a header and a footer, but so can every <article> and <section> element. In fact, a <header> should be present for all of these, although a <footer> is not always necessary.What is the minimum number of HTML5 tags that are required to create a Web page?
<HEAD>, <BODY>, <HTML>).What is <!DOCTYPE>? What are the different types of <!DOCTYPE> that are available?
What is a contenteditable attribute?
contenteditable attribute specifies whether the content of an element is editable or not.What is image map in HTML5?
<area> and <map>, where the map holds the map information and the area element takes the attributes to define each section of the map. - Server-side image map created by using <usemap> attribute, the usemap attribute is the name of our map.What is the Application Cache in HTML5 and why it is used?
Explain Microdata in HTML5?
itemscope attribute is used.To add a property to an item, the itemprop attribute is used on one of the item’s descendants.

Explain the srcset attribute in img tag
srcset tag comes into action when you want to serve different images to the users according to their device display’s width. Serving higher quality images to devices having high resolution or vice-versa increases performance and avoids data wastage.

Describe the difference between <script async> and <script defer>
<script async>, the script is fetched in parallel to HTML parsing and executed as soon as it is available.<script defer>, the script is also fetched parallel to HTML parsing but the execution is done when the page has finished parsing.
Also note that if there are multiple scripts, each script is executed in the order they were encountered in the document.List Some Best Practices for Designing Multilingual Sites
lang attribute in your HTML.What are key differences between Canvas and SVG? | Canvas | SVG | | ———— | ———— | | Resolution dependent | Resolution independent | | Resolution dependent | Resolution independent | | No support for event handlers | Support for event handlers | | Poor text rendering capabilities | Best suited for applications with large rendering areas (Google Maps) | | You can save the resulting image as .png or .jpg | Slow rendering if complex (anything that uses the DOM a lot will be slow) | | Well suited for graphic-intensive games | Not suited for game applications |