HTML Semantic Tags Explained With Examples
HTML semantic tags are elements whose names describe what their content is, not how it looks. , , , , , and tell browsers, screen readers and search engines what each part of the page is for, while a tells them nothing. In this post I explain each semantic tag with examples, show how I structure a real page, and list the mistakes I made when I first started using them. When I built my first websites, every box was a with a class name. The pages looked fine, but the HTML didn't describe anything.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in