Free-CGI

Applications

Register

Customize

Manage

Free-Code

Reference
YouTube
Promote
FAQ - Help
Links
Disclaimer
Privacy
Feedback
About

Basic Structure

  • <!-- ..... -->
    Specifies a comment. Anything between these tags will be skipped by the browser.

  • <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 //EN">
    This is the necessary first element of any HTML 3.2 compliant document.

  • <HTML>.....< /HTML>
    Encloses the entire document.

  • <HEAD>.....< /HEAD>
    Encloses the head of the document. The following optional tags are placed inside the head.
    1. <TITLE>.....< /TITLE>
      Indicates the title of the document that is used as the window caption. This is the second of the two required tags for any HTML 3.2 compliant document.

    2. <BASE href="http://something.network/some_file.html">
      Specifies the base URL of the document. This is used when dereferencing relative URLs in the page.

    3. <BASE href="http://something.network/some_file.html" TARGET="...">
      Also specifies the base target frame that all links will default to. See the LINK tag for possible values used in TARGET.

    4. <META attribut1 attribute2>
      This element can be used to specify name/value pairs describing various properties of the document. Below are some examples:
      To have your page automatically reloaded every X seconds, use the following:
      <META HTTP-EQUIV="REFRESH" CONTENT=X >
      To have a different page automatically loaded after X seconds, use the following:
      <META HTTP-EQUIV="REFRESH" CONTENT="X; URL=http://some.address/some_file.html">
      To specify an expiration date for the page so that it will be reloaded after a certain date, use:
      <META HTTP-EQUIV="Expires" CONTENT="Mon, 23 Sep 1996 01:21:00 GMT">
      To specify keywords for certain search services to use, do the following:
      <META HTTP-EQUIV="Keywords" CONTENT="keyword1, keyword2, ...">
      To specify a description of your page for certain search services to use, do the following:
      <META HTTP-EQUIV="Description" CONTENT="Describe your site here....">

    5. <LINK attribute=" HREF="..." >
      Currently this tag is not widely supported, however in the future browsers will use a list of these tags to generate a navigation bar for the site. Without browser support, this tag can still be useful for site maintenance.
        Attributes:
      1. REL="..."--Specifies the type of relationship of the link to this page. Possible values are: "home", "toc" (table of contents), "index", "glossary", "copyright", "bookmark", "up", "next", "previous", and "help".
      2. REV="..."--Used instead of REL, this specifies a reverse relationship from this page to the link. Possible values are: "made" (author, set HREF=email address) and all the ones used in REL.
      3. HREF="..."--Specifies the address of the link.
      4. TITLE="..."--Specifies a title for the link.

  • <BODY attribute1="..." attribute2="...">.....< /BODY>
    Encloses the main body of the document.
      Attributes:
    1. ALINK="..."--Specifies the color of the activated links in the page.
    2. BACKGROUND="..."--Specifies an image to be tiled as background.
    3. BGCOLOR="..."--Specifies the background color.
    4. BGPROPERTIES=FIXED--Fixes the background image so that it doesn't scroll. (IE)
    5. LEFTMARGIN="n"--Specifies the left margin for the entire page. (IE)
    6. LINK="..."--Specifies the color of the links in the page.
    7. TEXT="..."--Specifies the color of the text in the page.
    8. TOPMARGIN="n"--Specifies the top margin for the entire page. (IE)
    9. VLINK="..."--Specifies the color of the followed links in the page.

      NOTE: Color is always expressed as RGB (Red Green Blue), where each color has a value between 0 and 255 expressed in hex notation. For example, BGCOLOR=#FFFF00 sets the background color to yellow.

  • <BASEFONT attribute=">
    Sets the default font properties for the entire page.
      Attributes:
    1. SIZE="..."--Sets the size of the font to any number between 1 and 7 with 3 being default. Relative sizes also work, e.g. SIZE=+2 .
    2. COLOR="..."--Specifies the default font color for the page.
    3. Name="..."--Specifies the typeface of the default font.

  • <Hn>...< /Hn>
    Makes the enclosed text a heading of various sizes where n is any number ranging from 1 to 6, and 1 creates the biggest heading while 6 creates the smallest.

  • <ISINDEX>
    Displays a text box indicating the presence of a searchable index. Simply adding this tag will not create a searchable page. The server must be set up to support it.
      Attributes:
    1. ACTION="..."--Specifies the location of the gateway program to which the search string should be passed.
    2. PROMPT="..."--Specifies an alternate prompt for the text box.


| Basic Structure | Multimedia | Links | Lists | Frames |
| Tables | Forms | Style Sheets | General Formatting |
| Color Names | Color Codes | Color Tester |
| ASCII Codes | Entities | META Tags |
| SQL Reference | Web Graphics |

Free-CGI.com is updated on a daily basis. New features and applications are added almost
every day. Free-CGI.com is always under construction. If you have any comments or
suggestions, please contact free-cgi. Thanks!

Donate $1 (or more) to Free-CGI


Thanks!

| Free-CGI | Applications | Register | Customize | Manage | Free-Code | Reference |
| YouTube | Promote | FAQ - Help | Links | Disclaimer | Privacy | Feedback | About |

Copyright © 1995 - 2012 Free CGI. All rights reserved.