1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

chaning font on css stylesheet?

Discussion in 'Web Design' started by Retraction, Jun 16, 2014.

  1. Retraction

    Retraction Junior Member

    Joined:
    Mar 3, 2014
    Messages:
    171
    Likes Received:
    181
    Okay I am using a template first of all. I basically self-taught myself the basics of html. So this template has an HTML file (ex index.html) and a css stylesheet. Now I added this section in the html file, but it was default color and font. I changed the color in the css stylesheet by using

    Code:
    color: #000;
    I don't know what the font syntax is. Sorry if this was stupid, I couldn't find it anywhere.
     
  2. twist13

    twist13 Junior Member

    Joined:
    Jan 2, 2014
    Messages:
    140
    Likes Received:
    67
    Location:
    Twisterville
    I guess that you're searching for "font-family" to change the font and "color" to change the color.
    If not, check out http://www.w3schools.com/ . All codes for HTML and CSS are there, making your search easy as a pie.
     
  3. ThatK1dB

    ThatK1dB Regular Member

    Joined:
    May 8, 2013
    Messages:
    245
    Likes Received:
    26
    here is a cheat sheet for a short hand of the font property.

    [​IMG]

    i would also suggest to learn html5 since that is the new web standard of html
     
  4. CPAManager

    CPAManager Newbie

    Joined:
    Jun 17, 2014
    Messages:
    5
    Likes Received:
    0
    Just use the font-family tag.

    You can use the following link below to see the font names available. You can also use Google fonts etc..

    Search for this on Google and choose the W3Schools site. CSS font name list