- 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, 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).
No comments:
Post a Comment