Answers for "p font size html"

12

how to change font size in html

<body>      
         <h1 style="color:red;font-size:40px;">Heading</h1>      
         <p style="color:blue;font-size:18px;">This is demo text</p>    
      </body>
Posted by: Guest on April-29-2020
20

html font size

<span style="font-size:20px;"></span>
Posted by: Guest on May-19-2020
6

html font size

font-size:20px;

"default size is : +-16px;"
Posted by: Guest on April-04-2020
2

how to add style to p tag in html

<h1 style="color:blue;">This is a Blue Heading</h1>
<!DOCTYPE html>
<html>
<head>
<style>

 body {background-color: powderblue;}
h1   {color: blue;}
p    {color: red;}

</style>
</head>
<body>

<h1>This is a 
 heading</h1>
<p>This is a paragraph.</p>

</body>
</html>
Posted by: Guest on March-14-2020
0

how to change the font in html

<script>//for typewriter font:</script>

<tt>
  <h1>Example Text</h1
</tt>
Posted by: Guest on May-23-2020

Browse Popular Code Answers by Language