Home » Articles » WEBSITE DESIGNING |
HTML FONT FACE, SIZE AND COLOR In this tutorial we shall deal with text size and color, you can set any size of text and color of your own preference according to the type of text you are using such as heading etc. As we discussed before that html uses tags to make your webpage. HTML tags are closed with “< and >” brackets. Now let’s continue how to change the text size and color. The name “size” and “color” when are written inside the html tags folowed by equal sign with description about size and color they take effects on the text surrownded by that tag. For example:- <font face = tahoma color = blue size=32> this is required text </font> Copy the above text and paste into notepad then run the webpage to see how it works. Note that the name “font” should be used otherwise nothing will happen.
Copy the entire text below in the box and paste into notepad then save and test it to see the result
Explanation about the code above: Font face changes the face or kind of fonts you use in your webpage, from the above you may see font faces like tahoma, times new roman, elephant, Trebuchet MS, rockwell condensed and arial, there are so many font faces you can make on your website. Font color is easy, it is just the color of your text such as yellow, red, blue, pink etc. Font size is the size of your text, the larger the number the larger the text. the following table can guide you: FONT ATTRIBUTES THAT CAN BE USED IN HTML
Thanks a lot, for comments and questions feel free to write in the box below. | ||||||||
Views: 865 | | |
Total comments: 0 | |