Is it correct HTML to change the color of text inside a H1, H2, H3 or H4 element? Are they block level?
For example
Yes This is the correct way, If you want to use inline css. Otherwise make a class say
<h1 class="title"><span>#500</span> Hello world</h1>
Now Its Css is:
h1.title span{ color:#ABABAB; }
Again yes h1 to h6 is a block level.