QUICK - I need HTML COLOR code

Discussion in 'HTML & Website Design' started by rockfordghost, Jun 8, 2010.

  1. #1
    I need the correct format for the HTML color code

    Ex: <color> red> "text here" </color>


    I do not know the correct format, please help!
     
    rockfordghost, Jun 8, 2010 IP
  2. josephwaldman1984

    josephwaldman1984 Peon

    Messages:
    306
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    <style ="font-color:red;">"text here"</style>
     
    josephwaldman1984, Jun 8, 2010 IP
  3. rockfordghost

    rockfordghost Well-Known Member

    Messages:
    429
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    105
    #3
    is this for full page text? or sentences?

    I forgot to add, that I am looking for sentences
     
    rockfordghost, Jun 8, 2010 IP
  4. Lever

    Lever Deep Thought

    Messages:
    1,823
    Likes Received:
    94
    Best Answers:
    0
    Trophy Points:
    145
    #4
    x/html structurally works on paragraphs not sentences so you'd use

    <p style="font-color:red;">A paragraph consisting of sentence 1. Plus sentence 2.</p>
    Code (markup):
    To colour by sentences you could use the <span> tag like

    <p>A paragraph consisting of sentence 1. <span style="font-color:red;">Plus sentence 2.</span></p>
    Code (markup):
     
    Lever, Jun 8, 2010 IP
  5. scorpeeon

    scorpeeon Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    thank you for this
     
    scorpeeon, Jun 8, 2010 IP