Web Development and Design Foundations with XHTML, 5th Edition
steven felgate
(Steven Felgate)
2020-04-04 15:02:43 UTC
#1
(^596) Appendix A XHTML Reference
The
Ta g
The
tag configures an inline frame. This is a special scrolling area that dis-
plays a different Web page document. This does not need to be associated with a
framesetand can be placed on the body of any Web page. Some older browsers, such
as Netscape 4, do not support inline frames. If the inline frame is not supported, place
content that should be displayed between the opening and closing
tags.
Table A.23 shows
tag attributes and their values.
Table A.22
tag attributes
Attribute Value Usage
bordercolor A valid color; the W3C recommends hexa-
decimal colors
Configures the color of the frame border. Not part of
the W3C Recommendation.
frameborder "0"or "1"(default) "0"indicates that no frame borders will be visible
for this frame.
"1"indicates that frame borders will display for this
frame (default).
id Alphanumeric, no spaces; the value must
be unique and not used for other idval-
ues on the same XHTML document
This attribute is optional. It provides a unique identi-
fier for the frame.
longdesc URL of Web page with detailed description
of the frame
Provides a detailed text description of the frame.
This may be accessed by assistive technologies.
marginheight Number of pixels Configures the top and bottom margins for the
frame.
marginwidth Number of pixels Configures the width of the right and left margins for
the frame.
name Text name, beginning with a letter, no
spaces
Names the frame, so that it may be targeted by
other frames. This is deprecated in XHTML but is
used to provide backward compatibility with
browsers that support HTML.
noresize "noresize" Does not allow a Web page visitor to resize a frame
by dragging the frame border with the mouse.
scrolling "yes", "no", "auto"(default) Configures whether the frame has a scroll bar. The
default is "auto", which configures the browser to
add a scroll bar automatically when needed.
src URL or file name Configures what Web page will be displayed in the
frame (required).
title Text phrase that describes the frame Configures the title of the frame. This can be
accessed by screen readers and is recommended
by the W3C to improve accessibility.
← Previous
Next →
Free download pdf