+ 2

How can we change the font, size, text colour and background colour

2nd Mar 2017, 6:03 AM
Naval Jain
Naval Jain - avatar
5 Réponses
+ 5
font-family, font-size, color, background-color
2nd Mar 2017, 6:05 AM
Mario L.
Mario L. - avatar
+ 3
@Raj Kumar Chaudan: <font> tag is deprecated in Html5: you MUST use Css to style your html elements ^^
2nd Mar 2017, 11:18 AM
visph
visph - avatar
0
I think in just font tag you can specify all font properties, no need to write separate font color, font size etc
2nd Mar 2017, 6:58 AM
Raj Kumar Chauhan
Raj Kumar Chauhan - avatar
0
oh yes! my bad ... I was thinking something else @visph. .Thank you
2nd Mar 2017, 3:47 PM
Raj Kumar Chauhan
Raj Kumar Chauhan - avatar
0
CSS is best way to style your font. use this property: font-family,font-size, color, background-color.... E.g-.class_name{ font-family: georgia, times, serif; font-size: 30px; color: black; background-color: grey;}
3rd Mar 2017, 6:00 AM
Saundarya Lal Shrestha
Saundarya Lal Shrestha - avatar