<frame /> Description:
The <frame /> tag creates frames within a frameset.
<frame /> Web Browser Support:
- Netscape 2, 3, 4, 6, 7
- Mozilla 1
- Firefox 1
- Internet Explorer 3, 4, 5, 6
- Opera 3, 4, 5, 6, 7, 8
- Safari 1
- WebTV / MSNTV
- HTML 4.0
- XHTML 1.0: XHTML Frames Module, XHTML Name Identification Module
<frame /> Attributes:
- bordercolor (optional)
- class (optional)
- frameborder (optional)
- id (optional)
- longdesc (optional)
- marginheight (optional)
- marginwidth (optional)
- name (optional)
- noresize (optional)
- scrolling (optional)
- src (optional)
- style (optional)
- title (optional)
<frame /> End Tag:
None. </frame> is a singleton tag<frame /> Contents:
None.
<frame /> Valid Context:
The <frame /> tag is valid within the following tags:
frameset
<frame /> Usage:
- standard frame
<frame src="frame1.html" name="frame1" scrolling="no" frameborder="1" />
<frame /> Special Notes:
- If you use frames, you must use the frameset DTD:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
- When using frames, remember that they are not accessible, and you should always use a <noframes> element.
- Attributes like bordercolor and frameborder are better avoided. You should use CSS instead.

