HTML Font Tag
Font tag is used to decorate text using this we can define following things.
- color : defines color of font.
- size : defines size of font.
- face : defines font's looking.
Syntex <font color="red" size="20" face="verdana">Programmingduniya</font>
Example
ProgrammingduniyaClick to practice online example
Note 1
color of font attribute can be given in three ways.
color of font attribute can be given in three ways.
- directly giving color name ex. color="red"
- Using hax values ex. color="#aabbcc"
- Using rgb values color="rgb(1,2,3)"
Note 2
Font face values are serif,verdana,helvetica etc.
Font face values are serif,verdana,helvetica etc.
No comments:
Post a Comment