1. Home
  2. Computing & Technology
  3. Web Design / HTML

<frame />

By , About.com Guide

<frame /> Description:

The <frame /> tag creates frames within a frameset.

<frame /> Web Browser Support:
<frame /> Attributes:
<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.
More <frame /> Inframeation:

Return to XHTML Element (HTML Tags) Library

Related HTML Tags