SQL PHP HTML JavaScript articles and free code
 
 

Font tag to manage type of font in html code

Read the basic of html font tag here.
Font face can be set to display any style of the font for the text. We can set different font face to different part of a same text. Note that the type of font we set in font face has to be available in client computer. Here is one example of font face with size and color attributes .

<font size="4" color="#0000cc" face="times new roman">This is simple</font>

Now here it is how it will appear.

This is simple


Here are some examples with different font face used inside font tag

<font face="times new roman" size="2"> times new roman</font> times new roman
<font face="vardana" size="2"> vardana text</font> vardana text


Further readings
How to change color of the text in html using font tag
Manage the size of the fonts using font tag





Discuss this tutorial at forum

List of HTML Tutorials

 

Subscribe
Submit your email address and receive article and product notifications. Your email is safe with us.

Scripts
PHP
JavaScript
List of HTML Tutorial
HTML Tags
Color Chart
HTML Calendar
Tags on web page
Web Design
Subscribe
Submit your email address and receive article and product notifications. Your email is safe with us.