All HTML Web files start with the tag and end with the tag . Between these two tags information is divided into two parts: The "Head" and the "Body". Only a few tags are placed between the "Head" tags. One set that should always be included are the "Title" tags. The text between the "Title" tags is used as the document title. All the text and graphics you wish to display on the page go between the "Body" tags.
Basic Formatting
This is a list of common tags and their function:
<P> = paragraph tag
breaks paragraphs by adding two returns ( a line break and an empty line to separate paragraph). It
goes at the point you wish the paragraph to break.
<Br> = break tag, call for a line break
A recommended size is H3.
If you choose <H3> you need <H3> at the beginning and an </H3> at the end of your text.
2. Emphasizing Text
<center> goes before and </center> goes after the text
aligns the text to the right
<P Align="left">aligns the text to the left
Under <Body> write <Blockquote> and before </Body> write </Blockquote>
Try entire process.
5. Linking to other Web pages
The Tag,<A>, to create a link stands for anchor.
The anchor tag's basic format is as follows:
<A + reference comment (HREF) + the URL (name of page)> + text that you want to have highlighted
Example:
<A HREF="http://netletter.com/dicko/welcome.html"> plus the word/s you want highlighted plus </A> will link you to where you want to link.
When someone
clicks on the higlighted words, they would see the Web page named Welcome.htm, which is located in the dicko
folder on the Web server computer whose address is netletter.com
http=hypertext transfer protocol
URL=Web address
6. Arranging text in lists
Begins with <OL>
in front of every item you write <LI>
and ends with </OL>
Example:
Begins with <UL>
add <LI> in front of every item
ends with </UL>
Give it a try.
Start with <table>
<TR> creates a table row
<TD> creates individual cells (columns)
<TD> = table data
<TH> identifies the cell as part of the heading of the table.
Example:
name | height | diameter |
---|---|---|
oak | 30 meters | 2.5 meters |
pine | 25 meters | 1.80 meters |
If you want your table to have a border you will write:
<table border="yes">
Example:
name | height | diameter |
oak | 30 meters | 2.5 meters |
pine | 25 meters | 1.80 meters |
If you want to change the background color:
<table bgcolor="any color you want">
Example:
name | height | diameter |
oak | 30 meters | 2.5 meters |
pine | 25 meters | 1.80 meters |
src = source
img = image
<img src = "where">
<img src = "plants.gif">
<img src = "images/plants.gif">
Discover Life | Education | Training Guides and Protocols | Writing Web Pages |