Breadcrumbs

Home Web Development How to set font size and color in HTML
How to set font size and color in HTML PDF Print E-mail
Written by Administrator   

To set or change the the font size or the color of a word or a sentence add the following HTML tags

<p><span style="font-size: 15pt; color: #151B8D; font-family:Lucida Handwriting;">Great Help Here!</span><br/></p>

 

The result will be Great Help Here!

 

  • Font size and color descriptions are included in the tags <span></span>
  • <p></p> are sentence tags
  • <br/> is a carriage return tag

 

 

For HTML color codes click here