Basic HTML Tags
Basic HTML Tags
<HTML> </HTML>
The first and last codes in your document; they frame the
entire document
<HEAD> </HEAD>
Frame the document's header, which includes the title and
which can contain other information about the document that
will not be displayed (tags that can be used for head
information include TITLE, META, BASE, LINK, RANGE, STYLE,
and ISINDEX)
<TITLE> </TITLE>
Frame the actual title that will be searched on the Web and
that users will see in the title bar of the browser window
(or equivalent)
<BODY> </BODY>
Frame the body of the document -- everything after the
header (but before the closing </HTML> tag)
Headings
Text-breaking tags
Text-formatting tags
Lists
Tables
Attributes:
Border
Width
<TR> </TR> Table row container
Attributes:
Bgcolor
Align
Valign
Attributes:
Width
Colspan
Rowspan
Align
Valign
Bgcolor
Attributes:
width
Colspan
Rowspan
Align
Valign
Bgcolor
Attribute:
Align
Images
Attributes:
Src
Align
Height
Width
Border
Alt
Vspace
Hspace
Links
<A HREF=mailto:address></A>
To activate mailing tool of browser and send messages to specified address.
FRAMES
<FRAMESET> </FRAMESET>
Defines the sizes; locations and initial contents of the individual frames.
Attributes:
Rows
Cols
Scrolling
Border
Frameborder
Frameheight
Framewidth
<FRAMES> </FRAMES>
Defines a single frame in a single frame.
Attributes:
Src
Name
Border
Scrolling
Frameheight
Framewidth
Frameborder
<NOFRAMES> </NOFRAMES>
Supply contents for no frames browsers.
FORMS
<form> </form>
Creates an HTML form
Attributes:
Action
Method
Name
<input type=”‘button”>
Attributes:
Name
Value
<input type=”checkbox”>
Attributes:
Name
value
<input type=”radio”>
Attributes:
Name
value
<input type=”reset”>
Attributes:
Name
value
<input type=”submit”>
Attributes:
Name
value
<input type=”text”>
Attributes:
Name
Value
Size
<input type=”image”>
Attributes:
Name
Src
align
<input type=”file”>
Attributes:
Name
Value
<input type=”password”>
Attributes:
Name
Value
Size
Maxlength
<textarea></textarea>
Attributes:
Name
Value
Rows
cols
<select></select>
Attributes:
Name
Size
Multiple
<option>
Attributes:
Value
Selected