HTML and CSS Reference
In-Depth Information
Notes
• As a logical element, em is a prime candidate to bind style information to. For
example, to define emphasis to mean a larger font size in the Impact font instead of
italics, you might use a CSS rule like the following in a document-wide style sheet:
em {font-size: larger; font-family: Impact; font-style: normal;}
• HTML 2 and 3.2 support no attributes for this element.
<embed> (Embedded Object)
This widely supported nonstandard element specifies an object, typically a multimedia
element, to be embedded in an HTML document. The syntax can be somewhat variable
given the plug-in-specific attributes found, so the reference covers those commonly found.
Proprietary Syntax (Commonly Supported)
<embed
accesskey="key"
align="absbottom | absmiddle | baseline | bottom |
left | middle | right | texttop | top" (4)
alt="alternative text"
border="pixels"
class="class name(s)"
code="filename"
codebase="URL"
height="pixels"
hspace="pixels"
id="unique alphanumeric identifier" (4)
language="javascript | jscript | vbs | vbscript | xml" (5.5)
name="string"
palette="background | foreground" (4)
pluginspage="URL"
src="URL"
style="style information"
title="advisory text"
type="mime type"
units="em | pixels"
unselectable="on | off"
vspace="pixels"
width="pixels">
</embed>
Attributes Introduced by HTML5
contenteditable="true | false | inherit"
contextmenu="id of menu"
data-X="user-defined data"
draggable="true | false | auto"
hidden="hidden"
itemid="microdata id in URL format"
itemprop="microdata value"
itemref="space-separated list of IDs that may contain microdata"
Search WWH ::




Custom Search