Basic structure of HTML
Every web page has a stander basic structure.
HTML Basic Structure:
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<!-- Write your code here -->
</body>
</html>
This is mandatory, you have to write this basic structure.
Inside this body tag you can write any html tag to make your web page. tag will not visible to browser you can see only text in browser.
Let's make a basic web page which will show a Welcome massage in browser.
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<p>Welcome to programmingnet.com</p>
</body>
</html>
Output in browser
Welcome to programmingnet.com