Question:

HTML Code Help Please

by  |  earlier

0 LIKES UnLike

Can you help me find a great code to change font size, color, and type of font? Please Help? =-P

 Tags:

   Report

4 ANSWERS


  1. use tha <font> tag

    that would be <font face="Arial" size="13">Sample</font>

    for a complete HTML font reference refer to

    www.w3schools.com

    hope this helps.


  2. try this code:

    <font size="12" face="times" color="blue"> text </font>

    Be warned, though: some computers can't read certain fonts, so use fonts like times new roman, helvetica, sans serif, etc.


  3. <font size="number">text</font>

    or

    <font color="color">text</font>

    or

    <font face="typeoffont">text</font>

    or

    put them together: <font size="# 1-7" color="color" face="typeoffont">text</font>

  4. <font> is not proper HTML.  Is is not HTML standards compliant (anymore).  CSS is the proper way to do this.

    this is the proper way:

    <span style="font-family:Arial; font-size:14px; color:red">Your text here</span>

    SPAN: http://www.w3schools.com/TAGS/tag_span.a...

    FONT-FAMILY: http://www.w3schools.com/CSS/pr_font_fon...

    etc. etc.

    <font> is deprecated...

    http://www.w3schools.com/tags/tag_FONT.a...

    That means that some browsers will not show it correctly.  and soon no browsers will.  So use the correct way if you want it to work for everyone.

    Code Happy,

    TheCowboyCoder
You're reading: HTML Code Help Please

Question Stats

Latest activity: earlier.
This question has 4 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.
Unanswered Questions