HTML Semantic Tags

  • What is the difference between non-semantic and semantic tags in HTML?
  • The difference between non-semantic and tags in HTML include how non-semantic tags like <div> and <span> tells you nothing about the content, whereas, semantic tags like <form>, <table>, <article>, etc. clearly defines the content.

  • What are two (or more) benefits of using semantic tags?
  • Two benefits from using the semantic tags include:
  • They provide better accessibility to users with disabilities. It makes it simpler for tools like the screen readers to find out what the contents are on a webpage. People who rely on tools like the screen readers will have a better understanding of the contents and navigate the content more easily.
  • Helps the search engines and other user devices to determine the importance and context of web pages. Search Engines (for an example Google) look at the structure of the webpage through the semantic tags to figure out what it’s about. The semantic tags helps search engines understand the content better by giving out the info.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top