Script Garage

 

Font code... thing...?

Okay, so I know that if you want to change the color of the font, the code is < font color="#xxxxxx"> TEXT HERE < /font>, but what do I put if I want to change the font color, the font size, and the font family? (Like Arial, Comic Sans MS, Tahoma, ect...) (And sorry this isn't exactly the right category for this question... I didn't know where else to put it =/)

Public Comments

  1. <font size="2" face="Verdana"> The example of this is found at w3schools. U can go to http://www.w3schools.com/html/html_fonts.asp
  2. just <font color='blue' size='6' face='watever u want'> hi </font>
  3. Do NOT use the <font> tag. It is horrible, outdated and hard to update all your pages. Please see sense. Use CSS http://www.yourhtmlsource.com/stylesheets/ Really, it is so easy.
  4. Just an FYI, standards are moving away from the font tag...i find it's actually easier to use the style tag as well.... any text you want to apply a style to just add the following to a <p> , <span>, or <div> tag....example below <span style="font-family:verdana;font-size:10px;color:green"> THIS IS THE TEXT THAT WILL CHANGE </span> note the syntax of the style tag...all the font properties that you want to change are all contained within the same set of double quotes. There is a semi colon separating each property, and to set the value of the property there is a colon : used instead of an equal = sign Here is a link to all the property/value pairs that you can use w/ the styles tag http://www.w3schools.com/css/css_reference.asp Here is another link for the basics regarding styles and css http://designorati.com/articles/t1/web-design/1041/basic-css-inline-embedded-external-whats-the-difference.php
Powered by Yahoo! Answers