HTML

From Rasmapedia
Revision as of 11:45, 6 September 2024 by Eric Rasmusen (talk | contribs) (Created page with "==Color== The old <font> command is deprecated now, because the experts like CSS, putting all the style elements in a section at the front of the webpage. So here is the way t...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Color

The old command is deprecated now, because the experts like CSS, putting all the style elements in a section at the front of the webpage. So here is the way to change font color:

<style type="text/css">
  .orange_text {color: orange}
</style>

<p>This is my text <span class="orange_text"> and these words are different</span></p>,