Purpose and Placement of
HTML Commands
We offer this table as a quick reference to supplement the HTML tutorial. It shows the commands, a brief statement of their use, which attributes can modify them, and which commands they can inhabit or include, but it doesn’t go over the basics of HTML syntax. If you’re new to HTML, visit Spin Doctor’s Web Design 101 first.
name=»key» of key/value pair.
content=»value» of key/value pair.
Top | Next>> |
Top | Next>> |
enclosed
text
. or
..
. .
.
.
.
.
.
.
.
.
the value for the size attribute can be a number from 1 to 7 (default is 3), or (in quotation marks) a number relative to the current size, e.g. «+2".
.
.
..
..
.
.
.
.
.
.
..
..
, , or
.
.
.
.
.
.
.
.
or
enclosed text
.
.
.
.
or a
bullet, in an unordered list)
value= allows you to set the number or letter of an ordered list item
em strong code samp kbd var cite tt . i
ol ul dir menu dl
.
.
- .
Top | Next>> |
border=
(width, in pixels, of the border to be drawn around the table. a value of FRAME will enclose just the outside of the table; BASIC, the border and cells)
cellpadding= (spacing between the contents of the cell and the cell borders)
cellspacing= (size of the lines dividing the data cells) width= (width in pixels or a percentage of the window)
table
Top | Next>> |
name=»name of subfile in this document»
rel, rev, urn, title, methods
.
..
.
.
.
.
.
.
.
b cite code , or
.
.
.
.
.
.
or
Top | Next>> |
src=
alt=»text»
Netscape extensions:
align texttop/ absmiddle /baseline /bottom,
vspace
hspace
width
height
border
lowsrc=»https://transaction.net/web/tutor/file%20to%20be%20loaded%20with%20the%20main%20document»
.
cite code , , or
Top | Next>> |
method=»get» or «post» how the input will
be sent to the gateway on the server side
enctype=
«application/ x-www-form-urlencoded» only one value possible right now
.
, isindex table hr address input select textarea
.or.
or
name=»name of this item as passed to the script (in name/value pair),»
value=»default value (for text or hidden widget);
value to be submitted with the form (for a checkbox or radio button);
or label (for Reset or Submit buttons)»
src=»source file for an image»,\
checked indicates that checkbox or radio button is checked
size=»size in chars of text widget»
maxlength=»no of characters in a text field»
align=«(texttop/ absmiddle /baseline /bottom,)»
rows=»no. of rows»
cols=»(no. of cols.)»
size=#of items to display
multiple allows multiple selections
value=»data submitted if this option is selected»
Top |
that will appear above your browser window
(default is the actual filename of your document)
.
.
.
.
.
.
.
(1 is largest;
6 smallest)
br em strong code samp kbd var cite tt . i
..
..
or
break
and
em strong code samp kbd var cite tt . i
.or.
a
line
break
.
cite
code
, or
em
i
kbd
,
.
samp
strong
tt
var
size=(in pixels, the width of the line itself)
width=(in pixels, or a «#%» of the screen, the width traversed by the line)
align=(horizontal placement of the line, if it doesn’t cross the entire screen)
noshade eliminates the line’s shadow
. ,.
,
.
,