Tutorialss.com

Free Programs tutorials and resources..

Changing the Default Text Color

Changing the Default Text Color

How to change the default font color on your page

Okay, to change your default text color in your HTML page, you will need to find your body tag. Now, look for the phrase text=”" somewhere after the word body. You may have something like this:

<body text=”black”>

You may also see a weird number/letter combination, like this:

<body text=”#000000″>

Of course, you may not see either of these, or you may be creating the page from scratch. If you don’t have the extra command yet, add it to your body tag like one of the examples above. If you have other commands, add this one onto the end, leaving a space after the previous command, like this:

<body bgcolor=”blue” text=”black”>

Now, if you’d like to change the color, replace the black between the quote marks with a color name or hex code. 

So, if you want to change the text color to red, you could use one of the following:

Using a color name:

<body text=”red”>

Or using a hex code:

<body text=”#FF0000″>

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.