What is semantic HTML?

Semantic HTML is a special usage of HTML. It is a type of coding style where the HTML Markup is used to reinforce the semantics, or meaning, of the information in webpages and web applications. This is usually in contrast to the typical usage of HTML which is to define the presentation or the look of the content. Semantic HTML can be processed by most traditional web browsers, as well as by many other user agents. CSS is usually used in order to facilitate the presentation of Semantic HTML for human users.

For example: In Semantic HTML, instead of using <bold> and </bold> to indicate bold, <strong> and </strong> are used instead to indicate a bold statement.

Add new comment

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.