HTML and CSS Reference
In-Depth Information
Element/Attribute
Description
<footer>ƒ</footer>
A structural element that represents the footer of a section or page (HTML5)
<form>ƒ</form>
Encloses the contents of a Web form
ƒƒƒaccept=”
mime-typeƒlist”
Lists mime-types that the server processing the form will handle (deprecated)
ƒƒƒaccept-charset=
ƒƒƒ”charƒcode”
Specifies the character encoding that the server processing the form will handle
ƒƒƒaction=”
url
”
Provides the URL to which the form values are to be sent
ƒƒƒautocomplete=”on|off”
Enables automatic insertion of information in fields in which the user has previ-
ously entered data (HTML5)
ƒƒƒenctype=”
mime-type
”
Specifies the mime-type of the data to be sent to the server for processing; the
default is “application/x-www-form-urlencoded”
ƒƒƒmethod=”
get
|post”
Specifies the method of accessing the URL specified in the action attribute
ƒƒƒname=”
text
”
Specifies the name of the form
ƒƒƒnovalidate=”novalidate”
Specifies that the form is not meant to be validated during submission (HTML5)
ƒƒƒtarget=”
text
”ƒ
Specifies the frame or window in which output from the form should appear
<frame>ƒ</frame>
Marks a single frame within a set of frames (deprecated)
ƒƒƒbordercolor=”
color
”
Specifies the color of the frame border
ƒƒƒframeborder=”
1
|0”
Determines whether the frame border is visible (1) or invisible (0); Netscape also
supports values of yes or no
ƒƒƒlongdesc=”
url
”
Provides the URL of a document containing a long description of the frame's
contents
ƒƒƒmarginheight=
ƒƒƒ”
integer
”
Specifies the space above and below the frame object and the frame's borders,
in pixels
ƒƒƒmarginwidth=”
integer
”
Specifies the space to the left and right of the frame object and the frame's
borders, in pixels
ƒƒƒname=”
text
”
Specifies the name of the frame
ƒƒƒnoresize=”noresize”
Prevents users from resizing the frame
ƒƒƒscrolling=”
auto
|ƒ
ƒƒƒyes|no”
Specifies whether the browser will display a scroll bar with the frame
ƒƒƒsrc=”
url
”
Provides the URL of the document to be displayed in the frame
<frameset>ƒ</frameset>
Creates a collection of frames (deprecated)
ƒƒƒborder=”
integer
”
Specifies the thickness of the frame borders in the frameset in pixels (not part
of the W3C specifications, but supported by most browsers)
ƒƒƒbordercolor=”
color
”
Specifies the color of the frame borders
ƒƒƒcols=”
valueƒlist
”
Arranges the frames in columns with the width of each column expressed either
in pixels, as a percentage, or using an asterisk (to allow the browser to choose
the width)
ƒƒƒframeborder=”1|0”
Determines whether frame borders are visible (1) or invisible (0); (not part of
the W3C specifications, but supported by most browsers)
ƒƒƒframespacing=”
integer
”
Specifies the amount of space between frames in pixels (IE only)
ƒƒƒrows=”
valueƒlist
”
Arranges the frames in rows with the height of each column expressed either
in pixels, as a percentage, or using an asterisk (to allow the browser to choose
the height)