Web Designing Question:

Download Job Interview Questions and Answers PDF

Define Semantic HTML?

Web Designer Interview Question
Web Designer 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 Web Designer Interview Questions And Answers PDF

Previous QuestionNext Question
What is DOCTYPE?Can you please explain the difference between standards mode and quirks mode?