<html>
and
ends with </html>
.
<body>
and </body>
.
<h1>
element
defines a heading. It has a start tag <h1>
and an
end tag </h1>
:
<h1>
to <h6>
tags.
<h1>
defines
the most important (biggest) heading.
<h6>
defines
the least important (smallest) heading.
<p>
element
defines a paragraph.
There are different HTML elements to change how text looks.
If you want to experiment with the different types of formatting elements, click on the Try It Yourself link for the style on the w3schools page >> HTML Formatting
<ul>
tag. Each
list item starts with the <li>
tag.
<ol>
tag. Each
list item starts with the <li>
tag.
HTML tags should be in blue. If not spelled right, they turn black. Example the BODY tag below.
If you click on an opening or closing tag, they will both be highlighted in purple, if they are typed correctly.
A common mistake is forgetting a bracket at the end of a tag. Then the HTML tag will turn red in the next tag.
Make sure you don’t have just one quotation mark, then it won’t be happy. If you do, the next tag will be purple instead of blue.
Go to File>Open or click on the open toolbutton...
You can see if your page is saved or not by looking at the "webpage" tab.
CTRL+S to save the page (or use the toolbutton).