Contains pairs of term and
definition elements, as
follows:
- Windows
- Operating system
?‚ made by Microsoft.
- Mac OS
- Operating system
?‚ made by Apple.
See also Chapter 3,
???Definition lists,??? and the
???Displaying blocks of code
online??? exercise.
Defines a division within a
web page. Perhaps one of
the most versatile but least
understood elements. Used
in combination with an id or
class, the div tag element
allows sections of a page to
be individually styled and is
the primary XHTML element
used for the basis of CSSbased
web page layouts.
See also Chapter 7,
???Workflow for CSS layouts.???
XHTML REFERENCE
415
A
Element Attribute Description Standard attributes
Core attributes,
language attributes
Core events
Sets a name for the object.
Defines a URL for information
on installing the relevant
plug-in.
pluginspage=URL
name=name
Sets horizontal space around
the object.
hspace=number
Hides the player or media file
when set to yes. Defaults to no.
hidden=yes|no
Defines the height of the
object in pixels.
height=number
Defines the alignment of the
embedded object in relation
to the surrounding text.
align=left|right|
top|bottom
Embeds an object.
Nonstandard and not
supported by any XHTML
DOCTYPE. If this is included in
a web page, the page will not
validate. Poor browser
support for the W3C
preferred alternative, object,
left developers with little
choice other than to use this
nonstandard element when
embedding Flash or other
multimedia into a web page.
Pages:
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522