Anyone knows how to change the size of the text in the CSS? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Anyone knows how to change the size of the text in the CSS?

Size of words we write in the html

11th Aug 2022, 7:26 AM
Mani Singh
Mani Singh - avatar
4 Answers
+ 3
Use font-size
11th Aug 2022, 7:28 AM
A͢J
A͢J - avatar
+ 3
Mani Singh <div> <p style="font-size: 30px;">DIFFRERENT TYPES OF CARS</p></div>
11th Aug 2022, 7:53 AM
Chris Coder
Chris Coder - avatar
0
its not working <div font-size="50%"><caption>DIFFRERENT TYPES OF CARS</caption></div>
11th Aug 2022, 7:33 AM
Mani Singh
Mani Singh - avatar
0
Copy this one <style type="text/css> .name {font-size:0px} /* pls change the px value depending on your expected enlargement length*/ </style> <body> <p class="name"> text </p> </body>
13th Aug 2022, 7:26 AM
Allen Jester O Garalde
Allen Jester O Garalde - avatar