Coding for All
Lesson 1: Your First Tag
Your First Tag Put a heading on a real web page.
1<h1>Hello, world!</h1>
Terminal
Every line, explained
<h1>Hello, world!</h1>
This is a tag sandwich, and it is most of HTML! <h1> is the opening tag (h1 means "heading, level 1: the biggest"), then comes the content, then </h1> closes it; the / means "end of". The browser sees this and draws big bold text. Look at the browser window: that is YOUR page. (Real pages wrap everything in a bit of boilerplate like <body>; the Build a Website course starts with it.)