HTML Basic
Your first complete HTML page with doctype, head, title, and body.
David Miller
December 31, 2025
0.0k0
A correct HTML page has a basic structure. ## Basic template ```html <!doctype html> <html> <head> <title>Page Title</title> </head> <body> <h1>My Heading</h1> <p>My paragraph.</p> </body> </html> ``` ## What each part does (simple) - doctype: tells browser it is HTML5 - html: wraps everything - head: page info (title etc) - body: visible content ## Preview My Heading My paragraph. ## Practice Change the heading text and refresh the browser.
#HTML#Beginner