In below code, the message “Hello World” is displayed on the HTML page. The Fig. 1.1 is the resultant HTML page.
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>HTML Tutorial</title>
5 </head>
6 <body>
7 <h1> Hello World! </h1>
8 <p> This is the first HTML code </p>
9 </body>
10 </html>
© Copyright 2025 | FolkLight Studios