I\'m trying to understand the utility of the tag. I want to write less HTML, and am always for simplifying things in general, but feel like I heard s
From a semantical point of view, you should always have your content placed within containers of meaning.
For example, you could create a list of items (e.g. a todo list) like this:
- Buy groceries
- Clean my room
- Learn HTML
But this only looks like a list, but from a semantical point of view, it's just plain text, as A proper semantic list looks like this: Now it really is a list. So: Why does this matter? So the general rule is that you should always think of what type of content you want to present to the user: Is it a list (an So while from a technical point of view text is absolutely valid in bare
element will be treated by search engines with higher importance than a element (which doesn't have any semantic meaning). or element)? Is it text (one or many elements)? Is it a heading (an to element)? This allows all kinds of readers to interpret your content more thoroughly. elements when displaying text on your site. And as all websites are about their content, you should follow this rule thoroughly.