HTML Reference

·

html tags, html tutorial,html color codes,HTML codes,HTML valid,HTML color codes,HTML tutorial,HTML examples,html codes,HTML code?,HTML format,HTML text code?,HTML text codes,html web fonts,HTML Fonts,HTML Font Code,HTML font codes?, HTML Code Tutorial,html tags,,html tags chart,HTML Tags and Attributes,HTML syntax,,HTML Background,HTML code for a background,html reference,reference to HTML,HTML Reference examples,html href,HTML href Attribute,html table, HTML Table Basics.,html table color,html table border color,html table tags,html table border style,HTML Reference Guide, complete reference to HTML



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://some.network/file.html">
      Specifies the base URL of the document. This is used when dereferencing relative URLs in the page.

    3. <BASE href="http://some.net/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/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. For more information check out Colors of the Web.

  • <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.

Attributes HTML Basic Structure HTML Page Basic Table Tags Basic Text - Font Tags Binary Color Names HTML Color Values HTML Colors HTML Control Characters Conversion Table - Decimal Creating an HTML Page Elements HTML Entities HTML FONT COLOR in HTML FONT FACES in HTML FONT HEADERS in HTML FONT HIDING TEXT/TAGS in HTML FONT LOGICAL STYLES in HTML FONT PHYSICAL STYLES in HTML FONT SIZES in HTML Forms HTML Frames HTML Getting Started HTML head HTML Headings HTML Hexadecimal Horizontal Rule Examples HTML - Bold HTML - Code HTML - Div Element(s) HTML - Font and Basefont HTML - Italic HTML - Layout HTML - Strikethrough HTML -Getting Started HTML / XHTML Standard Event Attributes HTML 4.0 HTML Background HTML Basic HTML Basic - 4 Examples HTML codes HTML Codes - Characters and symbols HTML coding html color codes HTML Elements HTML Fonts HTML Tutorial List Item HTML Codes Form Input HTML Document Javascript Codes Color Code Organizing HTML HTML format HTML Introduction HTML Line Breaks HTML Marquees HTML Ordered HTML Preformatting HTML Reference HTML Style HTML Summary HTML syntax HTML Table Tags Examples II HTML Tag HTML Tags Chart HTML Tags You Really Should Know html tutorial HTML Tutorials HTML Unordered HTML URL Encode HTML URLs HTML valid HTML Webserver Image BORDERS in HTML Image FIXED BACKGROUND in HTML Image HEIGHT WIDTH in HTML Image HSPACE in HTML Image LINKED in HTML Image Map in HTML Images HTML Links HTML Lists HTML Marquee Basic Marquee Code Marquee Codes marquee right now Marquee Status Bar Marquee Tag Examples Marquee tag in html Marquee Tag of HTML marquee tag scrolling text Marquee Title Meta HTML Octal Paragraphs HTML Quick List HTML Scripts HTML Sound Tag Special Characters Struts HTML Tags Styles HTML Tables HTML Text Formatting HTML

What is HTML

free counters