How do you type HTML color font?

1 answer

Answer

1224941

2026-05-11 05:55

+ Follow

For the entire page, in the body tag you can use the text attribute. So if you wanted the colour to be gold, you would have:



For individual elements of the page, you can use the font tag like this:



That will continue having the text as gold until the font tag is closed. You can also change colours within tags using the style attribute.

This text is red in colour.

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.