HTML Basic Structure
HTMLEvery HTML page has a basic structure. Think of it as the skeleton of a web page.
The Structure
<!DOCTYPE html>— Tells the browser this is HTML5<html>— The root element<head>— Contains meta info (title, CSS links)<body>— Contains visible content
Example — HTML
<!DOCTYPE html>
<html>
<head>
<title>My Page</title>
</head>
<body>
<h1>Welcome!</h1>
<p>This is a complete HTML page.</p>
</body>
</html>
Result
Welcome!
This is a complete HTML page.