Faculty Profile - Victor M. Ponce

HTML MUST KNOW
(090911)

  • A tag is opened by enclosing its name within angle brackets (< example >).
  • A tag is closed by preceding its name with a forward slash (/) and enclosing all within angle brackets (< /example >).
  • In general, the tags should be opened and closed, with some exceptions.
  • Upper or lower case is accepted (no mixing within tag); except as noted below in italics.
  • Tags are embedded among them (< TR >< TD > ... ... ... < /TD >< /TR >)
  • A tag may have one or more attributes (listed on the right column).
  • Attributes may or may not be enclosed within double quotes (Ex: WIDTH=80% or WIDTH="80%" are both valid; WIDTH=80%" is not valid).


TAG ACTION ATTRIBUTES
A Access to link. HREF NAME TARGET
B Bolds text. ---
BODY Specifies characteristics of HTML body code. BACKGROUND TEXT BGCOLOR LINK VLINK ALINK
BR Carriage return; no need to close this tag. ---
CENTER Centers text or image. ---
FONT Specifies characteristics of text. SIZE COLOR FACE
HEAD Specifies characteristics of HTML head code. ---
HR Horizontal ruler (line). SIZE WIDTH COLOR
HTML Opens and closes HTML code. ---
I Italices text. ---
IMG Refers to image. SRC HEIGHT WIDTH
LI Lists item of ordered/unordered list. ---
OL Opens ordered list (numbered). ---
P Encloses paragraph. CLASS ALIGN ID
SUB Specifies a subscript. ---
SUP Specifies a superscript. ---
TABLE Opens table. ALIGN WIDTH HEIGHT BORDER BORDERCOLOR BGCOLOR COLS CELLPADDING CELLSPACING
TD Specifies data in table row (table data). WIDTH HEIGHT BGCOLOR ALIGN VALIGN ROWSPAN COLSPAN
TITLE States title of webpage, for reference by search engines. ---
TR Specifies table row. BGCOLOR
UL Opens unordered list (bullets). TYPE
! Text comment follows ! within tag. ---
nbsp Preceded by ampersand (&) and followed by semicolon (;) provides one blank space (accepts lower case only). ---



link to link to link to link to
image of

Aerospace | Civil | Electrical | Mechanical | Search | Portal