What is HTML?
HTML is short for Hyper Text Mark-up Language
It is a code that web pages are made out of.
The code tells a browser programme (Like Internet Explorer or Firefox) how to display words and pictures on the screen.
HTML code means that any computer with a web browsing programme can display a web page.
We are going to learn a little bit about HTML code to help
us understand how web pages are made.
TASK
To Create a web page using HTML using a Text Editor Programme
A STEP BY STEP GUIDE ON HOW TO DO IT
1 Load up the Notepad programme
2 Type in the following text:
<HEAD> <TITLE> A Recipe Web Page </TITLE> </HEAD>
<HTML> <BODY>
Here is a Recipe for Pancakes
</BODY> </HTML>
3 Then save this document with the name recipe.html
If you close it down and then double click this file it will open up in your web browser as a web page because it has been saved with a .html after its name (you can also use .htm as an alternative extension)
Your web page should look a bit like this picture...
What you now have to do is to open the file using the text editor programme
again and add some more text with some "TAGS"
The "TAGS" are bits of HTML code. They are the words and letters in the triangular brackets
The "TAGS" tell the browser what to do with the text on the screen
"TAGS" usually work in pairs
Try putting centre "TAGS" around the title like this...
<CENTER> Here is a Recipe for Pancake </CENTER>
Save your work and see what it looks like in
the browser now...
Open your work in the text editor again and add the following text with the "TAGS" as shown...