DEV Community

Cover image for Day 80/100 Semantics
Rio Cantre
Rio Cantre

Posted on • Updated on • Originally published at

Day 80/100 Semantics

Most people used the static HTML before but as years passed by semantic versions become a big scope of today's HTML structures which defines and make it more readable.


Why use Semantic HTML?

  • Accessibility: Semantic HTML makes webpages accessible for mobile devices and for people with disabilities as well. This is because screen readers and browsers are able to interpret the code better.
  • SEO: It improves the website SEO, or Search Engine Optimization, which is the process of increasing the number of people that visit your webpage. With better SEO, search engines are better able to identify the content of your website and weight the most important content appropriately.
  • Easy to Understand: Semantic HTML also makes the website’s source code easier to read for other web developers.

Code Snippets

    <h1>Types of Sports</h1>
      The first game of baseball was played in Cooperstown, New York in the summer of 1839.
Enter fullscreen mode Exit fullscreen mode
  <img src="overwatch.jpg" alt="image">
Enter fullscreen mode Exit fullscreen mode
  <source src="iAmAnAudioFile.mp3" type="audio/mp3">
Enter fullscreen mode Exit fullscreen mode


Top comments (0)