Interactive Learning and Design |
Hyper Text Markup Language - HTML - is the basic tool for presenting content on the World Wide Web. It is a simple subset of another language, SGML, and was developed in 1989 by Tim Berners-Lee. You will be using it through out the course and have a text, HTML: The Definitive Guide, which covers it in great detail. You can also find many more tutorials on-line.
This one only serves to acquaint you with the essential elements and allows you put together a simple Web document.
This is what a basic HTML document looks like:
<HTML>
<HEAD>
<TITLE> Sample page </TITLE>
</HEAD>
<BODY>
<p><b>This is a sample page.</b>
<p>This is a sample HTML page showing the basic elements and some text
markup.
<p>This is second paragraph of the sample page so the formatting will
be clear.
</BODY>
</HTML>
On the screen it looks like this:
This is a sample page.
This is a sample HTML page showing the basic elements and some text markup.
This is second paragraph of the sample page so the formatting will be clear.
Notice is that everything surrounded by less than < and greater than > signs are hidden from view. They aren't seen because they enclose the markup, the code that tells the browser what to do with the content, the words or images, the author wishes to present.
Copy and paste the sample into a text editor, for instance, Simple Text on Mac or Notepad on Windows, alter the title and text, save it as a file that ends with .html or .htm (like sample.html or sample.htm) and view it in any browser - Netscape Navigator or Internet Explorer are the most commonly available.
(To view in Netscape go to the File pull down menu, then Open Page, then Choose File or in Internet Explorer go to File and then Open, then Browse, and select the file you have saved and follow the steps to open it. It should appear on your screen.)
This is the framework on which all your pages will rest.
Next: Adding links
See also:
HTML with Style