HTML Basic Structure

2.19.2024
Copy

HTML Basic Structure

By Tony 2.19.2024
Favorite Share Report


You can't code a webpage without basic structure. They contain all the information about your webpage. Today, we will explore the basic structure of an webpage.
Here is an example of the basic HTML structure:

<!DOCTYPE html>
<html>
pcp<head>
pcpcpc<title>My Webpage</title>
pcp</head>
pcp<body>
pcpcpc<h1>Hello World!</h1>
pcp</body>
</html>
Browser page title

These 5 elements form the basic structure of a webpage. Always remember to put them in your HTML file. In VS Code, open an HTML file then type "!" and hit enter. VS Code will auto complete these tags! Try type in different tags to explore more about these tags.