Turning borders on and off
The frameborder
attribute is used to turn the 3D borders between frames on (with a value of 1
) and off (0
), like a toggle switch. The W3C Recommendations specify that the frameborder
attribute should be used for each individual frame
element, but most browsers support frameborder
in the frameset
element as well (see previous note). Applying a frame border to a single frame draws the border on all sides of that frame. It will look as though the neighboring frames have their borders turned on as well, even if they are turned off.
Get Web Design in a Nutshell, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.