Adding Images | Adding Links | Document Tags
Headings | Javascripts | Lists | Notepad

Print Friendly Version

Basic Tags for a Web Site
These are the tags required in every Web page. (Note: some are not technically required by the HTML specification, but some browsers will not render correctly without them, so it is always better to leave them in than out - the space you save is not worth the problems you might cause.)

HTML
The first tag that any Web page must have is the HTML tag. It tells the browser that the following text will be marked up in HTML format, and not some other format such as straight text, SGML, or XML. The closing tag /HTML is required and is the last tag in your document.

HEAD
The HEAD tag is used to define information for the browser that may or may not be displayed to the user. Tags that belong in the HEAD section are TITLE, META, SCRIPT, and STYLE. The closing tag /HEAD is required.

TITLE
The TITLE tag belongs in the HEAD section of your document. It is the title of your Web page, and is usually displayed by the browser at the top of the browser pane. The closing tag /TITLE is required.

BODY
The BODY tag is where all your HTML information belongs. It defines the primary portion of your Web page. With attributes of the BODY tag, you can define the background color of your Web pages, the text color, the link color, and the active and visited link colors. The closing tag /BODY is required.

A sample Web page would look like this:

<HTML>
<HEAD>
<TITLE>

This is the title of the page.

</TITLE>
</HEAD>
<BODY>

The body text goes here.

</BODY>
</HTML>

 

 

California District 2 Little League Online

Web Design by: Michael McKinney