Kids Coding
A First Web Page
HTML is tags that paint a page. Open the HTML editor and make a title.
KidsIntermediateA First Web Page
A page, not a printout
HTML uses tags to describe a page. The browser draws it. That is a different editor from Try Python: Try HTML.
A tiny page
<h1>Hello</h1>
<p>This is my first page.</p>
<ul>
<li>Cats</li>
<li>Foxes</li>
</ul>Tags come in pairs
| Tag | Meaning |
|---|---|
<h1> … </h1> | biggest heading |
<p> … </p> | a paragraph |
<ul> and <li> | a list and an item |
Open Try HTML, paste the example, and watch the right side paint a page. Python will not do that.
Real life
A poster on the classroom door.
A heading, a sentence, a list of what to bring. HTML is the poster. The browser is the door.
Club poster
<h1>Chess club</h1>
<p>Friday, after school.</p>
<ul>
<li>Board</li>
<li>Snack</li>
</ul>Change one word. Run it. That is how this idea shows up outside the lesson.
Try it
Exercise 1: Write an h1 with your name and a p with one sentence.
Show solution
<h1>Sam</h1>
<p>I am learning to code.</p>