HTML and CSS Reference
In-Depth Information
• The HTML 3.2 specification supports no attribute for the sup element.
• This element can be simulated using the CSS property vertical-align .
• Most browsers may slightly shift text lines above a <sup> tag.
<table> (Table)
This element is used to define a table. Tables should be used to organize data. However,
they are often used to provide structure for laying out pages in the absence of CSS.
Standard Syntax
align="center | left | right" (transitional only)
bgcolor="color name | #RRGGBB" (transitional only)
class="class name(s)"
dir="ltr | rtl"
frame="above | below | border | box | hsides |
lhs | rhs | void | vsides"
id="unique alphanumeric identifier"
lang="language code"
rules="all | cols | groups | none | rows"
style="style information"
summary="summary information"
title="advisory text"
width="percentage | pixels">
caption, col, colgroup, thead, tbody, tfoot, and tr elements only
Nonstandard Attributes Commonly Supported
background="URL of image" file
bordercolor="color name | #RRGGBB"
cols="number of columns"
height="percentage | pixels"
Attributes Introduced by HTML5
accesskey="spaced list of accelerator key(s)"
contenteditable="true | false | inherit"
contextmenu="id of menu"
data-X="user-defined data"
draggable="true | false | auto"
itemid="microdata id in URL format"
itemprop="microdata value"
Search WWH ::

Custom Search