Free Web Hosting Provider - Web Hosting - E-commerce - High Speed Internet - Free Web Page
Search the Web

 HTML Guide logoHomeThe Basics of HTMLTables, Frames and MultimediaHTML Extensions, Forms and ScriptsTips, Tricks and ToolsTips, Tricks and ToolsShop for books on HTML

Any text that you write between the <body> and </body> tags will apear on your webpage.

In this section...
Beginning
Text Options
The <Body> Tag
Links
Lists
Pictures
Marquees

Experiment a little with this. Change the title text and write some text. For example:

<html>
<head>
<title>Test Page</title>
</head>
<body>
This page is a test.
</body>
</html>

The following are tags for different text options. When there are two tags, the first without a slash and the second with a slash, only the text between the first tag and the second will be affected.

<b>...</b>
bold text
 
<i>...</i>
italic text
 
<u>...</u>
underlined text
 
<center>...</center>
centered text
 
<p>
paragraph return (inserts an extra line space between paragraphs)

Note: Any paragraph returns that you insert in your document by simply hitting the Return key on your keyboard will be ignored by a Web browser. You must use the tag <p> to create a paragraph break on the screen.

 
<br>
line break (no extra space)
 
<h1>...</h1>
header, level 1 (the largest size type for a header, usually used at the beginning of a page or the start of a new section). Smaller headers are tagged with <h2>...</h2>, <h3>...</h3>, etc. The larger the number, the smaller the text (up to <h6>...</h6>).
 
 
<font>...</font>
Defines the font. You can add several attributes to this tag:

size="any number"
face="any font type"
color="color"

Here is an example for a font tag with all the attributes:

<font size="5" face="times new roman" color="green">...</font>

Notice that:
  1. After the name of the attribute is an equal sign followed by the type (the color, font or size).
  2. The "type" is in quotation marks.
  3. When you close the tag using </font> you only need to close the basic tag, without the attributes.

 

Mailing List - Receive weekly website design tips right to your mailbox FREE   





Send mail to iddo-h@geocities.com with questions or comments about this web site.
Copyright © 1999 The Complete HTML Guide