Align
Next
Prior
Top
Page 8 - The HTML Blocks
An HTML file has only two internal blocks.
1

First is the "HEAD" block that provides the browser with
"instructions" that are not displayed.
The Head Block syntax:
<HEAD>
........
</HEAD>
The second block is the "BODY" which defines the visual content on the page, and how it is displayed.
The Body Block syntax:
<BODY>
........
</BODY>
|
If the font for Exercise 2 does not fill the "workspace"
in the image (that is, the tenth instruction is just within the graphic)
the font needs adjustment.
|
|
Align
Next
Prior
Top
|
View Background File:
http://www.passco.com/images/headsample.gif
Exercise 2 Read all instructions first.
- Open Notepad+ (remember, Start, Run ....)
- Notepad+ can find the file. Click File.
- In the drop down box select "Reopoen".
- Wow... there it is on the top of the list, "webpage.htm". Select "webpage" and hit enter.
- Now edit in the HEAD and BODY block tags.
- Now, since the file has a name, "webpage.htm", you can save it by clicking the "Save" Icon.
The "Save" icon looks like a floppy diskette.
- Now, exit the Notepad+ window. Where is your file? Yep, Right back on the desktop.
- This is important. Let's minimize this tutorial. Look for the "webpage.htm" icon
on the desk top. Click the icon. View your web page. It will be just a blank screen
(check the name in the Title Bar).
- If you know your browser, click View and select the ``view source``
choice, and look at the source of your file.
- Then do a browser "BACK", and you will be here in the tutorial again.
|
|
|