How to increase font size of html paragraph? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to increase font size of html paragraph?

I just started html and don't know how to increase font size

3rd Dec 2017, 7:00 PM
Nouman
Nouman - avatar
3 Answers
+ 1
<p style="font-size:50px;">Your paragraph.</p> This code changes the font size to 50px. Hopefully this will work.
4th Dec 2017, 2:41 AM
Learnsolo
+ 6
I think there's no other way than with CSS or with inline styling (you can set size either with words, pixels or ems) https://code.sololearn.com/WpBsH1zJWyVD/?ref=app https://code.sololearn.com/WcG4m50pYK21/?ref=app
3rd Dec 2017, 7:07 PM
Tim Thuma
Tim Thuma - avatar
0
@adam no I mean <p> font .
3rd Dec 2017, 7:12 PM
Nouman
Nouman - avatar