Guided Notes
Introduction to HTML
Elements, tags, and the structure of a page.
HTML (HyperText Markup Language) describes the structure of a web page using elements — a heading, a paragraph, a button, an image. Every element is written as a tag, usually in an opening/closing pair: <p>some text</p>.
Elements nest inside each other to build a document tree. A page's visible content lives inside <body>; metadata like the page title lives inside <head>. Browsers read this tree top to bottom and render it.
HTML gives structure and meaning, not appearance — a <button> looks like a button by default, but CSS is what actually controls color, spacing, and layout. Behavior (what happens on click) is JavaScript's job.