HTML SEMANTIC ELEMENT

Maha



HTML Semantic Element

HTML elements that express their meaning in a form that is both machine and human readable are known as semantic elements. These components improve the website's SEO (Search Engine Optimization) and accessibility by outlining the page's structure and content. 

Semantic elements indicate the kind of content they are for instance, the table, header, footer, etc. As will be discussed below, HTML5 adds a number of semantic components that both tell the browser how to handle them and make code easier for developers to write and comprehend. The following are a few of the most often utilized semantic elements:


HTML Tags Are Classified Into Two Types

  • Semantic element:

                Semantic elements and these components expressly define the content of the element.

For Example: <form>, <style>, <article> 

  • Non Semantic element:

               Non-semantic elements include and which reveal nothing about their content.

For Example: <div>, <span>


HTML With Semantic Elements



More topic in HTML

Our website uses cookies to enhance your experience. Learn More
Accept !

GocourseAI

close
send