Google News
logo
UI Developer - Interview Questions
What is 'Semantic HTML'?
Semantic HTML is a coding style where the tags embody what the text is meant to convey. In Semantic HTML, tags like for bold, and for italic should not be used, the reason being they just represent formatting and provide no indication of meaning or structure. The semantically correct thing to do is use these tags will have the same bold and italic effects while demonstrating meaning and structure (emphasis in this case).

Examples of semantic HTML5 elements are : 
<heade>, <footer>, <article>, <aside>, <details>, <figure>, 
<figcaption>, <main>, <mark>, <nav>, <section>, <summary>, <time>.​
Advertisement