Can font size can be resize in Web page? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can font size can be resize in Web page?

15th Aug 2016, 3:28 PM
Gautam G G
Gautam G G - avatar
4 Answers
+ 1
yup, you need to use this CSS.. .fontresize{font-size:28px;} now where you want to resize there use class attribute like this. class="fontresize" example: <HTML> <head> <style> .fontresize{font-size:28px;} </style> </head> <body> <p class="fontresize">This is a Paragraph.</p> </body> </HTML>
16th Aug 2016, 4:22 AM
Mʀ'x Sʋʀʌj
Mʀ'x Sʋʀʌj - avatar
+ 1
1. another way is to use inline CSS, inline CSS takes a higher precedence compared to external CSS file 2. use the size attribute with the font element, say <font size="6">YOUR TEXT HERE</font>
30th Aug 2016, 1:53 AM
Ezekiel Oladejo
Ezekiel Oladejo - avatar
0
Use inline CSS
31st Aug 2016, 1:47 AM
ChandraKanth K
ChandraKanth K - avatar
0
Yes definitely
4th Sep 2016, 8:40 AM
Jessica Muscat
Jessica Muscat - avatar