Wow. Cant you just put font size in pixels instead of these large n stuff? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

Wow. Cant you just put font size in pixels instead of these large n stuff?

20th Aug 2017, 7:46 PM
Devinable
4 Answers
+ 7
what do you mean? it's possible to assign the font size in pixels, however the preferred way is to do it with 'em' or 'rem' because it will adjust the units to the font family you use
20th Aug 2017, 8:13 PM
Kamil
Kamil - avatar
+ 7
css is better! 1) it's way better to keep the whole 'style' of your Web page in one place, that would be your stylesheet 2) css is much more powerful when it comes to designing than html
20th Aug 2017, 8:19 PM
Kamil
Kamil - avatar
+ 1
you can still use HTML tags like <em> and <strong> to give your markup semantic meaning, later with CSS you can modify those tags to your liking.
1st Sep 2017, 4:29 AM
Geekatari
Geekatari - avatar
0
i mean you can set it in html and without using css. it has point?
20th Aug 2017, 8:14 PM
Devinable