Every web page on the internet starts with a standard HTML5 document skeleton. The <!DOCTYPE html> declaration informs the browser that this is an HTML5 document. The <html> root tag wraps everything, <head> holds metadata and page titles, and <body> contains all visual content seen by users.
Entity state & role in architecture: <!DOCTYPE html>
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>My First Web Page</title> </head> <body style="font-family: system-ui, sans-serif; padding: 20px; background: #0f172a; color: #f8fafc;"> <h1 style="color: #38bdf8;">Hello, World!</h1> <p>Welcome to modern web development with HTML5.</p> </body> </html>
<!DOCTYPE html>Tells modern browsers to render using HTML5 standard mode.
<html lang="en">Root element specifying English language for search engines and accessibility.
<head> ... </head>Contains page metadata, viewport configs, CSS stylesheets, and the page title.
<body> ... </body>Contains all the visible content rendered on screen.