Anonymous
Anonymous asked in Computers & InternetProgramming & Design · 1 decade ago

How to apply certain html font color code on a text??

If I have the html code of certain color font, how can apply it on text paragraph after typing it??

4 Answers

Relevance
  • 1 decade ago
    Favorite Answer

    While the above answers will work, they are misleading. The HTML <font> tag is deprecated and should not be used. You should be using CSS.

    <p>The last word in this sentence will be <span style="color:#0000FF">blue</span></p>

    <p style="color:red">CSS also supports the proper names of some 150 colors!</p>

  • 1 decade ago

    At the beginning of the paragraph type

    <font color=red>

    *YOUR PARAGRAPH HERE*

    And end the paragraph with

    </font>

    Obviously you can change that font colour. :)

  • 1 decade ago

    <font color="the html color code"> message </font>

  • 1 decade ago

    type the code in a notepad file and open the file with a web browser

Still have questions? Get your answers by asking now.