DEV Community

Discussion on: Let’s Talk About HTML Hierarchy

Collapse
 
ben profile image
Ben Halpern

Nice read. Writing HTML semantically can also help clarify the purpose of some part of the markup. Any opportunity to use words that mean the thing you're trying to create, it's a good call.

Collapse
 
maxx0r profile image
Max

I've learned through experience that writing semantic html makes everything easier to maintain too. When your future self looks at the semantic templates, he/she will immediately understand whats going on.

I think that semantics is important for every type of code you write, whether it is html, css, javascript or any other language. By sticking to the 'rules' you get consistent code which will be easier to understand for anyone who looks at it.