Help Me/Question What Is Semantic Html?

steve taylor

White Belt
It is a coding style. It uses the HTML markup to support the semantics or meaning of the content.
for example :-
In HTML <b> </b> tag used for bold statement where as in semantic HTML it replace with <strong></strong> tag.
and in HTML <i> </i> tag is used for italic where as in semantic HTML it replace with <em></em> tags.
 

Prasoon Arora

White Belt
Semantic HTML or semantic markup is HTML that introduces meaning to the web page rather than just presentation. The benefit of writing semantic HTML stems from the goal of a web page—to communicate. And by adding semantic tags to your documents, you are providing additional information about your document, which aids in communication.
 
Top