Module 1: Getting Started with HTML
What Is HTML?
Understand markup, elements, and the job HTML performs in a web page.
HTML stands for HyperText Markup Language. It describes the structure and meaning of content on the web. A browser reads an HTML document and builds a document tree from its elements. That tree is what CSS styles and JavaScript can work with.
HTML is not a programming language in the usual sense. It does not contain general-purpose loops or functions. Instead, it marks up content: this text is a heading, these items form a list, this address is a link, and this region is the main content.
<h1>Weekend cooking notes</h1>
<p>Three recipes I want to try this month.</p>
<ul>
<li>Vegetable pulao</li>
<li>Tomato soup</li>
<li>Banana bread</li>
</ul>
The elements give the content a structure that people, browsers, search engines, and assistive technologies can interpret.
HTML, CSS, and JavaScript have different jobs#
- HTML supplies content and structure.
- CSS controls presentation: spacing, colors, layout, and responsive behavior.
- JavaScript adds behavior such as filtering a list or opening an interactive panel.
A useful habit is to ask what a piece of content is before deciding how it should look. Choose the HTML element for its meaning; use CSS for appearance.