Web Development Ninjas Question:

Download Job Interview Questions and Answers PDF

Explain me what is “Semantic HTML?”?

Ninjas Web Developer Interview Question
Ninjas Web Developer Interview Question

Answer:

Semantic HTML is a coding style where the tags embody what the text is meant to convey. In Semantic HTML, tags like <b></b> for bold, and <i></i> for italic should not be used, reason being they just represent formatting, and provide no indication of meaning or structure. The semantically correct thing to do is use <strong></strong> and <em></em>. These tags will have the same bold and italic effects, while demonstrating meaning and structure (emphasis in this case).

Download Ninjas Web Developer Interview Questions And Answers PDF

Previous QuestionNext Question
Explain me what is the main advantage of loading jQuery library using CDN?Do you know the real difference between HTML and HTML5?