HTML CSS examples for CSS Widget:Font
CSS style as color attribute on font tags
<html> <head> <style> .red-text {<!-- w w w . j a v a 2s.c o m--> color:Chartreuse; } .green-text { color:yellow; } .gold-text { color:blue; } </style> </head> <body> <p class="red-text">Lor</p> <p class="green-text">Lorem</p> <p class="gold-text">Lore</p> </body> </html>