+ 3

Can I edit text size inside a paragraph, in html?

6th Jan 2021, 7:02 AM
Domokos MĂĄrk
Domokos MĂĄrk - avatar
5 Answers
+ 3
Yes <style> span.size { font-size: 30px; } </style> <p>Can I edit <span class="size">text size</span> inside a paragraph, in html?</p>
6th Jan 2021, 12:48 PM
Chris Coder
Chris Coder - avatar
+ 4
Specify text size with some class in css and add this class to paragraph, like for simle div element
6th Jan 2021, 7:05 AM
george
george - avatar
+ 3
Yes you can as this <p class="text"> This is a pragraph </p> Go your css file And access class as .text{ text-size=70px; } As many you want Hope litte bit understand
7th Jan 2021, 8:18 PM
Cabdi Raxmaan Khaliif
Cabdi Raxmaan Khaliif - avatar
+ 3
<p style="font-size:40px">text with 40px font</p>
7th Jan 2021, 8:31 PM
george
george - avatar
+ 1
Yes, just add "style" attribute
8th Jan 2021, 12:25 PM
cabdiqani Ahmed
cabdiqani Ahmed - avatar