0 votes
143 views
in HTML by (3.5k points)
edited

How to increase font size in HTML?

1 Answer

0 votes
by (3.5k points)
edited

 

<!DOCTYPE html>
   <html>    
      <head>      
         <title>Demo HTML font size</title>    
      </head>    
      <body>      
         <h1 style="color:red;font-size:40px;">Heading</h1>      
         <p style="color:blue;font-size:18px;">Font size demo</p>    
      </body>
</html>

Related questions

0 votes
1 answer 129 views
asked Aug 19, 2022 in HTML by codelikepro (3.5k points)
0 votes
1 answer 123 views
asked Aug 19, 2022 in HTML by codelikepro (3.5k points)
0 votes
1 answer 112 views
asked Aug 19, 2022 in HTML by codelikepro (3.5k points)
0 votes
1 answer 108 views
asked Aug 19, 2022 in HTML by codelikepro (3.5k points)
0 votes
1 answer 132 views
asked Aug 19, 2022 in HTML by codelikepro (3.5k points)
0 votes
1 answer 100 views
asked Aug 19, 2022 in HTML by codelikepro (3.5k points)

Doubtly is an online community for engineering students, offering:

  • Free viva questions PDFs
  • Previous year question papers (PYQs)
  • Academic doubt solutions
  • Expert-guided solutions

Get the pro version for free by logging in!

5.7k questions

5.1k answers

108 comments

554 users

...