The < br > tag creates a line break. And so on...
Every website-building tag also has a closing tag, which is mandatory, because without a closing tag the opening tag does not count. The closing tag is identical to the opening tag except for one character (/) For example: if the opening tag is < b > (which makes text bold), the closing tag will be < /b > .
Write the opening tag at the beginning of the text you want to make bold and the closing tag at its end.
For example: < b >The Light Rail in Tel Aviv < /b >
And after running the document, the text will appear in bold only.
So that the web browser recognizes that this is HTML, the first tag in the document will be < html > and the last tag in the document will be < /html >
An HTML document is divided into 2 parts: head and body.
The head is the top part of the document, in which you write the < title > tag. What you write in it will appear as the name of the site, meaning that when the site is opened, its name will appear in the narrow bar at the top of the page.
Of course, the < title > tag is closed with the < /title > tag.
Apart from the < title > tag, we have nothing else to write in the < head > so we will close it too with < /head > after closing the < /title > tag
After the < head > tag comes the < body > tag. In this tag we write the text and add images, forms and links.
Tags must be written with great precision – a single wrong letter is enough to ruin a whole line – and you must also be very careful every time to add a closing tag, because otherwise the opening code will have no meaning.
At its core, an HTML document looks like this:
< html >
< head >
< title >The Light Rail in Tel Aviv< /title >
< /head >
< body >
Body of the document
< /body >
< /html >
In HTML, unlike in other languages, you can use both lowercase and uppercase letters, and a single word can even be made up of both, for example: HtM1. Of course, for your own convenience it is better to write everything in the same case.
And now open Notepad and start writing your site.
Instructions
Write the < html > tag at the top of the page so that the browser knows this is HTML.
Write the < head > tag, then the < title > tag, then "Your Name's Website," and then close with < /title >
Then close the < /head > tag
Next we will open the < body > tag, and since we have not really learned about other tags yet, we will now introduce the tag we saw earlier as an example, the < P > tag.
The < P > tag marks the beginning of a new paragraph and is one of the few tags that has no closing tag in website building.
So inside the < body > tags we write the < P > tag, and inside it you write a very short sentence about yourselves, and then close
with the < /body > tag and then the < /html > tag.
Then you need to save the document, and for it to become a web page you name the document whatever you like in English and then add a dot and HTML, for example: moti.html
If everything went well in building the site, the next time you open the document it will be a web page, showing what you wrote about yourselves, and at the top, in a rectangular window, "The Light Rail in Tel Aviv."
If you did not succeed in building the site, read the instructions again and again and try again and again until you surely succeed in building the site.
