What was the “font” tag used for in HTML4? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What was the “font” tag used for in HTML4?

Was it Depressed In HTML 5 Because of Font-Family or Font-weight? Ty for all answers!😁😉😀

6th Nov 2018, 1:17 AM
Potato Hacker
Potato Hacker - avatar
2 Answers
+ 4
Precisely so! In HTML4 we could use the font tag to specify the color, size, and face (style) of the text. But now we are supposed to do them with CSS using color, font-size, and font-family respectively. (font-weight is for thickness of the characters)
6th Nov 2018, 1:31 AM
Kishalaya Saha
Kishalaya Saha - avatar
+ 3
It was depreciated because the default character-set in HTML 4 is ISO- 8859 and was limited thus when html5 came utf-8 allowed many changes including css font tag equivalents plus extras
6th Nov 2018, 1:58 AM
BroFar
BroFar - avatar