DEV Community

Khawaja Khurram (MAK)
Khawaja Khurram (MAK)

Posted on

Your First HTML Page

“This is how a webpage is born 🌱”

Open VS Code (or any editor) and create a new file named index.html

Type the basic HTML boilerplate:

 <!DOCTYPE html>
 <html>
   <head>
     <title>My First Page</title>
   </head>
   <body>
     <h1>Hello World</h1>
     <p>Welcome to my first webpage.</p>
   </body>
 </html>

Enter fullscreen mode Exit fullscreen mode

Save file → double-click to open in browser.

🚀 Follow for Part 2

💻 Like if this helped!

Click here to watch the CODE in Action

Top comments (0)