HTML and CSS Reference
In-Depth Information
Element/Attribute
Description
<h
i
>ƒ</h
i
>
Marks the enclosed text as a heading, where
i
is an integer from 1 (the largest
heading) to 6 (the smallest heading)
ƒƒƒalign=”
align
”
Specifies the alignment of the heading text
where
align
is left, center, right, or
justify (obsolete)
Encloses the document head, containing information about the document
<head>ƒ</head>
ƒƒƒprofile=”
url
”
Provides the location of metadata about the document
<header>ƒ</header>
Structural element that represents the header of a section or the page (HTML5)
Structural element that groups content headings (HTML5)
<hgroup>ƒ</hgroup>
<hrƒ/>
Draws a horizontal line (rule) in the rendered page
ƒƒƒalign=”
align
”
Specifies the horizontal alignment of the line where
align
left, center, or right
(obsolete)
ƒƒƒcolor=”
color
”
Specifies the color of the line (obsolete)
ƒƒƒnoshade=”noshade”
Removes 3-D shading from the line (obsolete)
ƒƒƒsize=”
integer
”
Specifies the height of the line in pixels or as a percentage of the enclosing ele-
ment's height (obsolete)
ƒƒƒwidth=”
integer
”
Specifies the width of the line in pixels or as a percentage of the enclosing ele-
ment's width (obsolete)
<html>ƒ</html>
Encloses the entire content of the HTML document
ƒƒƒmanifest=”
url
”
Provides the address of the document's application cache manifest (HTML5)
ƒƒƒxmlns=”
text
”
Specifies the namespace prefix for the document
<i>ƒ</i>
Represents a span of text offset from its surrounding content without conveying
any extra importance or emphasis
<iframe>ƒ</iframe>
Creates an inline frame in the document
ƒƒƒalign=”
align
”
Specifies the horizontal alignment of the frame with the surrounding content
where
align
is bottom, left, middle, top, or right (obsolete)
ƒƒƒdatafld=”
text
”
Indicates the column from a data source that supplies bound data for the inline
frame (IE only)
ƒƒƒdataformatas=”html|
ƒƒƒplaintext|text”
Specifies the format of the data in the data source bound with the inline frame
(IE only)
ƒƒƒdatasrc=”
url
”
Provides the URL or ID of the data source bound with the inline frame (IE only)
ƒƒƒframeborder=”
1
|0”
Specifies whether to display a frame border (1) or not (0) (obsolete)
ƒƒƒheight=”
integer
”
Specifies the height of the frame in pixels
ƒƒƒlongdesc=”
url
”
Indicates the document containing a long description of the frame's content
(obsolete)
ƒƒƒmarginheight=”
integer
”
Specifies the space above and below the frame object and the frame's borders,
in pixels (obsolete)
ƒƒƒmarginwidth=”
integer
”
Specifies the space to the left and right of the frame object and the frame's
borders, in pixels (obsolete)
ƒƒƒname=”
text
”
Specifies the name of the frame
ƒƒƒsandbox=”allow-forms|
ƒƒƒallow-scripts|
ƒƒƒallow-top-navigation|
ƒƒƒallow-same-origin”ƒƒƒ
Defines restrictions to the frame content (HTML5)
ƒƒƒseamless=”seamless”
Displays the inline frame as part of the document (HTML5)
Determines whether the browser displays a scroll bar with the frame (obsolete)
ƒƒƒscrolling=”
auto
|
ƒƒƒyes|no”