๐Ÿ‘ฉ๐Ÿปโ€๐Ÿš’ HTML Questions

  • โœ… HTML vs HTML5

  • โœ… HTML element vs tags

  • โœ… HTML Semantic elements A semantic element clearly describes its meaning to both the browser and the developer.

    Examples of non-semantic elements: <div> and <span> - Tells nothing about its content.

    Examples of semantic elements: <form>, <table>, and <article> - Clearly defines its content.

    articleasidedetails
    figcaptionfigurefooter
    headermainmark
    navsectionsummary
  • โœ… Semantic HTML

    An important principle in web design is the idea of using HTML elements to indicate what they actually are, rather than how they may appear in the browser by default. This is known as using semantic HTML.

    Some of the benefits from writing semantic markup are as follows:

    • Search engines will consider its contents as important keywords to influence the page's search rankings (see SEO)
    • Screen readers can use it as a signpost to help visually impaired users navigate a page
    • Finding blocks of meaningful code is significantly easier than searching though endless divs with or without semantic or namespaced classes
    • Suggests to the developer the type of data that will be populated
    • Semantic naming mirrors proper custom element/component naming
  • โœ… What is the purpose of Doctype

  • โœ… What is OG tag why is that required and how that works

  • โœ… Why meta tag and what it serve

  • โœ… Why its important to use the nav, article, aside, menu, header, footer when every things can be achieve just by div

  • โœ… HTML Data attributes

  • โœ… What does pre and code tag does

  • โœ… span vs div

  • โœ… Why samp and kbd tags

  • โŒ Accessibility in HTML and explain ARIA

  • โŒ a11y in Web

  • โŒ What is accessibility and why is that required

  • โŒ What is the purpose of alt attribute in Image element in HTML

  • โœ… LazyLoading image

  • โœ… Meta type and Doctype purpose

  • โœ… Working of iframe

  • โœ… Self closing tags & Optional tag

  • โŒ HTML template language

  • โŒ HTML markup validity

  • โŒ HTML Preprocessor

Last updated on by krishnaUIDev