4. Tags





  

a. < html >

The HTML language use something called 'Tag.' Some of the common tags are < p >, < br >, < a >, < href >, < font >, < img >, and a few others. Of course they look foreign to you right now. Don't worry, you'll soon master the skill to use them. The < html > tag is ALWAYS used in the beginning of a HTML document. Also important, < /html > tag is the complement of < html >. The < /html > tag is ALWAYS used at the end of a HTML document. One of the example is illustrated in creating the web page new.html.

b. < body >

The < body > tag is used right after the < html > tag. It is to contain everything on a web page. Similarly, you need to use the tag < /body > at the end of the web page document.

c. < p >

The < p > tag stands for the start of a paragraph. You put it before any paragraph. This gets you spaces between two paragraphs. Some times the end tag < /p > is omitted.

d. < br >

The < br > tag stands for break. It is inserted into the document when we want to start a new line. For example Xxxxxxxxxxxxxx< br > Yyyyyyyyyyyyyy Here the line contain y is not on the next line after x line.






[ main page ]
Hosted by www.Geocities.ws

1