I know that I want to keep my style and my content separate, so suppose I want to display:
<h1>ROYGBV</h1>
on a page where each letter also matches the color, what would be better for this?
Will it be:
<h1><font color="red">R</font><font color="orange">O</font>
etc? And assuming that I have a few words in the paragraph that need to be colored as:
Sally found all the RED shells on the blue coast in the YELLOW sun ...
Can I use font tags throughout HTML? The only alternative I can come up with is to put it in span tags and add a class. This would allow me to change my definition of red in the css file for all iterations of red.
source
share