1<body>
2 <h1 style="color:red;font-size:40px;">Heading</h1>
3 <p style="color:blue;font-size:18px;">This is demo text</p>
4 </body>
1<!DOCTYPE html>
2 <html>
3 <head>
4 <title>HTMLFont size</title>
5 </head>
6 <body>
7 <h1 style="color:red;font-size:40px;">Heading</h1>
8 <p style="color:blue;font-size:18px;">This is demo text</p>
9 </body>
10</html>