Basic HTML for Web Design : Change Single Text Color in HTML

Basic HTML for Web Design : Change Single Text Color in HTML


So we got pretty much our basic text color
down, and our font color for our active and visited links and the other links. Now let’s
say that you just want to change one word of text color in a paragraph. And to do that
we will go into- so we have our whole body text set to black if we look up here, that’s
all the text in the document, but that doesn’t mean, it’s not definitive. So let’s say
in our second paragraph, the second line here, we want to change the color of the font for
that sentence. So we’ll go in here and put it up, angle bracket, type font, space, color,
=quotation, and then the font color that we want; let’s do ff0033, and then another
quote, and an angle bracket. And then after the sentence that we want to be (that’s a
red color), so after the sentence that’s red, we’ll go and do another angle bracket, and
close off that tag with a /font, and there we go. And we’ll save that, and we’ll go over
here to our text and preview it. And here in the second paragraph, the second line,
that text has been changed to red. And you can do this to a single letter, a single word,
or, paragraphs at a time, it just depends on what you have between the containers.

4 comments

Leave a Reply

Your email address will not be published. Required fields are marked *