Prev | Current Page 500 | Next

Craig Grannell

"The Essential Guide to CSS and HTML Web Design"

This
takes the form of a start tag with an added trailing forward slash. Prior to the slash, a space
is usually added. For instance,
denotes a line break.
Although onresize is part of DOM2, it??™s not recognized by the XHTML specification. If an
onresize event is required, it cannot be applied directly to the body element. Instead,
you must declare it in the document head using window.onresize=functionName.
XHTML REFERENCE
403
A
Element Attribute Description Standard attributes
No attributes
No attributes

href=URL Defines the link target.
Specifies the relationship
from the current document to
the target document.
Common values include next,
prev, parent, child, index,
toc, and glossary. Also used
within link elements to define
the relationship of linked CSS
documents (e.g., to establish
default and alternative style
sheets).
rel=relationship
Names an anchor. Due to be
replaced by id in future
versions of XHTML. When
defining a fragment
identifier in XHTML 1.0,
id must be used.
name=name
(deprecated)
Core attributes,
keyboard attributes,
language attributes
Core events, onblur,
onfocus
Defines an anchor. Can link to
another document by using the
href attribute, or create an
anchor within a document by
using the id or name attributes.
Despite the number of
available attributes, some
aren??™t well supported.
Generally, href, name, title,
and target are commonly
used, along with class and id
for use as CSS or scripting
hooks.


Pages:
488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512