Basic Guide For Writing Web Pages -- Introduction / Table Of Contents / Previous Page / Next Page

Basic Web Page Writing Step 1
Creating the Basic HTML Structure


To create a WEB PAGE Document you first must understand the use of the HTML Codes or Mark-up tags that are used. Basically the tags create the page and format it to do what you want.

How to write tags

This is how a tag in used: <title>Step By Step</title> The tag name goes inside angle brackets before the text, and it is repeated after the text with a slash after the opening angle bracket. The first is the start-tag and the second one is called the end-tag and the text they surround is called the content.

A few tags are defined as empty since they only have a start-tag and they don't enclose any content, for example <br> tells the browser to end a line and insert blank line. It does not surround anything, so there's no end-tag.

A Basic HTML Document

Every HTML document should contain certain standard HTML tags. Each document consists of HEAD and BODY.
Anything in the HEAD will not appear when viewed with a browser.

The HEAD contains the TITLE of the document. It is this title that will be used when the page is viewed by the browser and saved as a bookmark for later use. It tells the person who is viewing the page what the name of the page is.

The BODY contains the actual text that is made up of paragraphs, lists, and other elements such as graphics and links to other pages. Browsers expect specific information because they are programmed according to HTML and SGML specifications.

Required elements are shown in the example below.

    <html>				<-----Must start every HTML Document
    <head>				<-----Indicates the start of the Head
    <TITLE>Title of Document</TITLE>   	<-----The title of the document 
    </head>				<-----End of the Head
    <body>				<-----Start of the body of the document
    <P>Some text to create the		<-----Where your information goes
     body of the document!</P>
       </body>				<-----End of the body of the document
    </html>				<-----Must end every HTML Document
These are the required elements for every HTML document. Because you should include these tags in each file, you might want to create a template file with them already in it.

NOTE: HTML is not case sensitive. <title> is equivalent to <TITLE>. There are a few exceptions which will be noted later.

Not all tags are supported by all World Wide Web browsers. If a browser does not support a tag, it (usually) just ignores it.

Create a Template

Try creating the following template to start your web page. Type the following exactly as shown below and save the file as template.htm. You can use this file later to practice some of the other steps.
<HTML>
<HEAD>
<TITLE> My Template </TITLE>
</HEAD>
<BODY>


</BODY>
</HTML>

You have just completed the basic structure of your web page. Click below to add some text to the body section.

STEP 2 -- Adding Text



Basic Guide For Writing Web Pages -- Introduction / Table Of Contents / Previous Page / Next Page

created by Larry Curreri,

© 1996 l_curreri@yahoo.com
Visit My Home Page

last modified: January 14, 2002

This page hosted by Get your own Free Home Page 1