HTML Basic
Basic Structure
Every HTML page has a basic structure.
Example
<!DOCTYPE html>
<html>
<head>
<title>Basic HTML</title>
</head>
<body>
<h1>This is Heading</h1>
<p>This is a paragraph.</p>
</body>
</html>
DOCTYPE
Defines HTML version
Head
Contains meta info
Body
Visible content
Summary
- HTML has basic structure
- DOCTYPE is required
- Head stores metadata
- Body shows content