What is the HTML page structure? Explain with example

A basic HTML page structure mainly consists of 3 HTML tags, <html>, <head><body> and <!DOCTYPE html> declaration.

A standard HTML page contains <!DOCTYPE html> in the begining. Then <html> tag starts. HTML Page title, style and javascript is included inside the <head> tag. And all main and visible page content is written inside <body> tag.

HTML Page Structure Example

<!DOCTYPE html>
  <title>This is a sample title</title>
This is sample page content

Learn more about the similar topics:
No Content Found.
Exercises & Assignments
No Content Found.
Interview Questions & Answers
No Content Found.