Skip to main content

Posts

Showing posts with the label html5

8 HTML Elements You’re Not Using (and Should Be)

In today's web, the word  semantic  gets thrown around a lot. But what does semantic mean? Why is it important? Semantic HTML expresses the  meaning  of the document. It's less about how the text looks and more about what it is. Good semantic markup helps both people and machines understand the content and its context. Semantic markup is much more accessible and easier for screen readers to interpret. It's SEO friendly. It works better with modern browsers. It reduces the amount of code needed to express the content and increases the clarity of the code for other people that have to read it. Okay, so semantic content is great, but how do you use it? One of the best ways to start writing better markup is to replace generic tags with more expressive elements. Let's take a look at eight that you can use to step up your game. <q> Like it's blockier cousin  <blockquote> , the  <q>  tag is used for quoted text. Why not just use quotation ma