Text formatting(continued-a)
Text formatting
<FONT> Tag : This tag is used to set the font to be used to display the text. The tag is closed with </FONT>. This tag's attributes set the font size and colour of the text between these tags. Some basic attributes of this tag's are:
Attributes | Functions |
Face | Set the font style to be used. It is better to use font family instead of single font. |
Size | Used to set the font size. |
Color | Used to set the font color of the text. |
Steps to implement font tag are:
Step 1: Open notepad or any other HTML editor and type the following code in it:
Step 3: Now open ths file in Google Chrome or any other browser. It will look like as below:
Now you are familiar with how to use Text Formatting in HTML document. In the next topic we will learn changing background color of the page. Click on the next button.
Comments
Post a Comment