Google says that H tags shouldn’t be used for styling text but for structuring your text.
So, what do I do if I want to style text (a heading like “further reading” or “side note”) within a post, but I don’t want to be using inline html or internal css (and I obviously don’t want to use an h tag).
I would like to make these changes externally, so that I can change the style any time I want without having to go to every single post or page to do so.
Is this possible?
-
This topic was modified 10 years, 4 months ago by TSOP.
This worked:
If you don’t want to use an H tag, you could use a P tag.
You can define a class in CSS external style sheet:
.more {
color: orange;
font-size: 18px;
}
And then use it in your page:
<p class=”more”>Further information</p>