Semantic HTML

1 min


Sponsored Links

What is Semantic HTML?

Semantic tags are html elements that do the same thing as word meaning. For example; The <article> tag is a semantic element. Because the article refers to an article, and the <article> tag is really used to add an article element to your page. Briefly we can say HTML5 is a semantic HTML.

Elements like <span> and <div> work different from the meaning of the its title. Thus there is no similarity between their content and their title meanings.

HTML5 and Semantic Elements

It is possible to see the following HTML codes for different parts of the pages on lots ofwebsites;


< div id="nav" > < div id="header" >, < div id="footer" >

HTML5 allows you to define these parts of the pages as independent HTML5 elements, not like div elements. HTML5 has many elenmets;

< article >
 < header >
 < main >
 < mark >
 < nav >
 < section >
 < summary >
 < time >
 < aside >
 < details >
 < figcaption >
 < figure >
 < footer >

It shows on a page like;

[zombify_post]


Like it? Share with your friends!

alpinpon

0 Comments

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