DEV Community

[Comment from a deleted post]
Collapse
 
dballinas profile image
DBallinas

Same question here

Collapse
 
pedromagalhaes profile image
Pedro Magalhães

Headings should be used to define hierarchy in your webpage, and should never be used for styling purposes.

Collapse
 
konstantinklima profile image
Konstantin Klima

People (especially those that use WordPress and themes) will often put whole paragraphs of text inside of a h* because their theme doesn't use classes to manipulate CSS properties, but relies on attaching those CSS properties via the h* selectors.

Meaning, for example that h1 is big and blue, while h3 is a bit smaller and yellow. So someone comes along and says "this bit of text [imagine a long sentance]" needs to be a bit larger and yellow, and they will then proceed to put that very long text (which obviously is not a heading) inside a h3 tag, just for the looks.