HTML text size | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

HTML text size

how can I change the size of a text in a paragraph in html?

3rd Aug 2017, 2:44 PM
ayal matas
4 Answers
+ 8
It is deprecated now. It's better to start using CSS now.
4th Aug 2017, 2:37 AM
Sachin Artani
Sachin Artani - avatar
+ 7
You can do: <p style='font-size:45px'>Blah blah blah</p> For easiness
4th Aug 2017, 7:20 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 4
use CSS, eg. to change size of para to 20px- p { font-size:20px; }
3rd Aug 2017, 2:47 PM
Sachin Artani
Sachin Artani - avatar
+ 2
can't I do that just in html directly?
3rd Aug 2017, 7:37 PM
ayal matas