Student-friendly HTML, CSS, and JavaScript reference with examples
Every HTML document has the same basic structure:
<!DOCTYPE html>
<html>
<head>
<!-- Information about the page goes here -->
</head>
<body>
<!-- Visible content goes here -->
</body>
</html>
The <html> tag wraps everything in your document. Inside it, you have two main sections: