SQL PHP HTML ASP JavaScript articles
 

Font tag in html code

By using font tag we can control the display of fonts in a web page. Font tag is very commonly used tag in web page design. We will discuss some basic font tags and its uses in developing sites.

Using the font tag we can manage the size, color and face of the font. Here we can specify which font to be used for displaying the text. The face of the font can be Times New Roman or it can be Verdana font. What ever we specify the face of the font tag , that font must be available with the client computer. Otherwise default font will be displayed. So it is advisable to use common fonts and if you have any special requirement then create one image with the text and style of font you use and then display it as an image.

Font Size:

Font tag will have one starting and ending tag. The text between the staring and ending of the tags will follow the attributes set inside the tag. We can define the size of the font by using size attribute. Size can be from 1 to 7. Here is the basic font tag with size.

<font size=1>font size is 1</font> font size is 1
<font size="2">font size is 2</font> font size is 2
<font size="3">font size is 3</font> font size is 3
<font size="4">font size is 4</font> font size is 4
<font size="5">font size is 5</font> font size is 5
<font size="6">font size is 6</font> font size is 6
<font size="7">font size is 7</font> font size is 7


Next we will see how to manage the color of the text using font tag
Google+
Post Comment This is for short comments only. Use the forum for more discussions.
Name
Email( not to be displayed)Privacy Policy
1+2=This is to prevent automatic submission by spammers. Please enter the result of the sum as asked


Join Our Email List
Email:  
For Email Newsletters you can trust



<font>
HTML . MySQL. PHP. JavaScript. ASP. Photoshop. Articles. FORUM Contact us

©2000-2014 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer