What is Semantic HTML ?

  • It is essential to understand the meaning of words during communication in any language.
  • It becomes more critical and provides more semantic elements which make it easy to understand the code.
  • Developers have to use their own id/class names to style elements in HTML4.
  • In search engines, this is so difficult to identify the correct web page content.
  • Elements like (<header> <footer> <nav> <section> <article>) are become easier in HTML5.
  • It is reused across applications, enterprises, and communities and allows data to be shared.
  • Semantic elements can help to create a better website structure and increase the accessibility of your website.
  • In HTML5, there are various types of semantic elements:
    • <article> – It classifies an article.
    • <aside> -It classifies aside from the page content.
    • <footer> – It classifies footer for a section or document.
    • <header> -It specifies a header for a section or document.
    • <nav> -It classifies navigation links.
    • <section> -It classifies a section in a document.

Leave a Reply

Your email address will not be published. Required fields are marked *

You May Also Like

What is the difference between SOAP and REST ?

                  SOAP                    REST It is a protocol. It is an architectural style. SOAP- Simple Object Access Protocol. REST- Representational State Transfer. It can’t use REST because it is a…
View Answer

What is Grid system ?

It is a structure comprising a series of vertical and horizontal lines which intersect and used to arrange content. Is a way of providing a system that designers can work with…
View Answer

What is Flexbox ?

It is a one-dimensional layout model that has efficient and flexible layouts with distributed spaces among items to control their alignment structure in CSS . It is a layout model…
View Answer