OPERATING SYSTEMS
Installation and Configuration

Mac OS X Linux Unix Windows

HTML Quick Reference

  1. Structure Tags
  2. Headings
  3. Paragraphs
  4. Links
  5. Lists
  6. Character Formatting
  7. Other Elements
  8. Images
  9. Frames
  10. Tables

  1. Structure Tags

    !-- ... --> Creates a comment
    html ... /html Encloses the entire HTML document
    head ... /head Encloses the head of the HTML document
    isindex Indicates the document is a gateway script that allows searches
    meta Provides general information about the documents
    style ... /style Style information
    script ... /script Script language
    noscript ... /noscript Alternative content when scripting not supported
    title ... /title The title of the document
    body ... /body Encloses the body (text and tags) of the HTML documents

  2. Headings

    h1 ... /h1 headings 1 through 6
    h2 ... /h2
    h3 ... /h3
    h4 ... /h4
    h5 ... /h5
    h6 ... /h6

  3. Paragraphs

    p ... /p A plain paragraph; /p is optional

  4. Links

    a ... /a Creates a link or anchor. Includes common attributes
    href="..." The URL of the document to be linked to this one
    name=" ..." The name of the anchor
    target="..." Identifies the windows or location to open the link in
    rel="..." Defines forward link types
    rev="..." Defines reverse link types
    accesskey="..." Determines the accessibility character
    shape="..." Is for use with object shapes
    coors="..." Is for use with object shapes
    tabindex="..." Determines the tabbing order
    onClick Is an intrinsic
    onMouseOver Is an intrinsic
    onMouseOut Is an intrinsic

  5. Lists

    ol ... /ol An ordered (numbered) list
    ul ... /ul An unordered (bulleted) list
    menu ... /menu A menu list of items
    dir ... /dir A directory listing
    li A list item
    dl ... /dl A definition or glossary list
    dt A definition term
    dd The corresponding definition to a definition term

  6. Character Formatting

    em ... /em Emphasis (usually italic)
    strong ... /strong Stronger emphasis (usually bold)
    code ... /code Code sample
    kbd ... /kbd Text to be typed
    var ... /var A variable or placeholder for some other value
    samp ... /samp Sample text
    dfn ... /dfn A definition of a term
    cite ... /cite A citation
    b ... /b Boldface text
    i ... /i Italic text
    tt ... /tt Typewriter font
    u ... /u Underlined text
    pre ... /pre Preformatted text

  7. Other Elements

    hr / A horizontal rule line
    br / Line break
    blockquote ... /blockquote Used for long quotes or citations
    address ... /address Signatures or general information about a document's author
    font ... /font Change the size and color of font
    size="..." The size of the font, from 1 to 7
    color="..." The font color
    face="..." The font type
    basefont Sets the default size of the font for the current page
    size="..." The default size of the font, from 1 to 7

  8. Images

    img Inserts an inline image into the document; includes common attributes
    ismap This image is a server-side imagemap
    usemap This image is a client-side imagemap
    src="..." The URL of the image
    alt="..." A text string that will be displayed in browsers that cannot support images
    align="..." Determines the alignment of the given images
    height="..." Is the suggested height in pixels
    width="..." Is the suggested width in pixels
    vspace="..." The space between the image and the text above or below it
    hspace="..." The space between the image and the text to its left or right

  9. Frames

    frameset ... /frameset Defines a frameset
    rows="..." Number of rows in frame
    cols="..." Number of columns in frame
    onLoad Is an intrinsic event
    onUnload Is an intrinsic event
    frame Creates a frame
    name="..." Is the name of target frame
    src="..." Calls the name content source
    frameborder="..." Determines the frame border
    marginwidth="..." Defines margine widths
    marginheight="..." Defines margine height
    noresize="..." Determines ability to resize frames
    scrolling="..." Determines ability to scroll within frames
    iframe ... /iframe Defines an inline frame
    noframes ... /noframes Alternate content when frames not supported

  10. Tables

    table ... /table Creates a table
    border="..." Width of the border in pixels
    cols="..." Number of columns
    cellspacing="..." Spacing between cells
    cellpadding="..." Spacing in cells
    width="..." Table width

 

 


  1. Color codes

  2. Background Images

  3. Character Formatting Tags

  4. Frame Tags

  5. Image tags

  6. Link Tags

  7. List Tags

  8. Table Tags

Examples

Color and Color Codes

#7f0000 #007f00 #00007f #ff005f #000000
#9f0000 #009f00 #00009f #ff007f #ffffff
#bf0000 #00bf00 #0000bf #ff009f #ffeedd
#df0000 #00df00 #0000df #ff00bf #ddffee
#ff0000 #00ff00 #0000ff #ff00df #eeddff
#ff7f00 #7fff00 #007fff #ff00ff #880000
#ff9f00 #9fff00 #009fff #df00ff #008800
#ffbf00 #bfff00 #00bfff #bf00ff #888800
#ffdf00 #dfff00 #00dfff #9f00ff #008888
#ffff00 #ffff00 #00ffff #7f00ff #880088
Example:

HTML Table Tag Example


Tags Comments
img Inserts an inline image into the document; includes common attributes
ismap This image is a server-side imagemap
usemap This image is a client-side imagemap
OS: Mac OS X