Step to Create first html page.
Step to Create first html page.
Example
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
</body>
<h1>This is my First webpage ♥<h1>
</body>
</html>
Output
This is my First webpage
How to create a website using html
Step 1:Open code editor.
Step 2: Create the doctype of webpage. e.g. <!doctype html>
Step 3: Create Parent html tag e.g. <html> </html>
Step 4: Create head tag inside html tag, e.g. <head> </head>
Step 5: Add meta tag inside head, e.g. <meta charset="utf-8">
Step 6:Add title tag inside head, e.g. <title> </title>
Step 7: Create body tag after head tag closing, e.g. <body> </body>
Step 8:Wright your code inside body tag <h1> Hello world </h1>,etc
Step 9: Create body tag after head tag closing, e.g. <body> </body>
Step 10:Save page as index.html file on your system.
Step 11:Double Click the file and your webpage is live on browser.
Step 12:To edit webpage, right click on html file and select open in editor.