HTML CSS Bootstrap Javascript Icons Python
HTML References
HTML - Tag Reference HTML - Tag by Category HTML - Attributes HTML - Global Attributes HTML - Events HTML - Language Codes HTML - Country Codes HTML - URL Encoding HTTP Methods HTTP Status Codes <input> types
All HTML Tags
<!-- --> <!DOCTYPE> <a> <abbr> <acronym> <address> <applet> <area> <article> <aside> <audio> <b> <base> <basefont> <bdi> <bdo> <big> <blockquote> <body> <br> <button> <canvas> <caption> <center> <cite> <code> <col> <colgroup> <data> <datalist> <dd> <del> <details> <dfn> <dialog> <dir> <div> <dl> <dt> <em> <embed> <fieldset> <figcaption> <figure> <font> <footer> <form> <frame> <frameset> <h1> - <h6> <head> <header> <hr> <html> <i> <iframe> <img> <input> <ins> <kbd> <label> <legend> <li> <link> <main> <map> <mark> <meta> <meter> <nav> <noframes> <noscript> <object> <ol> <optgroup> <option> <output> <p> <param> <picture> <pre> <progress> <q> <rp> <rt> <ruby> <s> <samp> <script> <section> <select> <small> <source> <span> <strike> <strong> <style> <sub> <summary> <sup> <svg> <table> <tbody> <td> <template> <textarea> <tfoot> <th> <thead> <time> <title> <tr> <track> <tt> <u> <ul> <var> <video> <wbr>

HTML <frame> tag (Not Supported in HTML5)

The HTML <frame> element defines a particular area in which another HTML document can be displayed. A frame should be used within a <frameset>.

Using the <frame> element is not encouraged because of certain disadvantages such as performance problems and lack of accessibility for users with screen readers. Instead you should use the <iframe> element.

Run code
This element has been removed in HTML5 and shouldn't be used anymore. Instead you should use the <iframe> element.

Browser compatibility

Element
<frame> yes yes yes yes yes



Attributes

The following table shows the attributes that are specific to the <frame> tag:

Attribute Value Description
src URL Not supported in HTML5.
Specifies the document that will be displayed by the frame
name string Not supported in HTML5.
Specifies the name of a frame
noresize - Not supported in HTML5.
This attribute prevents resizing of frames by users
scrolling yes
no
auto
Not supported in HTML5.
Specifies whether or not to display scrollbars in a frame
marginheight pixels Not supported in HTML5.
This attribute defines the height of the margin between frames
marginwidth pixels Not supported in HTML5.
This attribute defines the width of the margin between frames
frameborder 0 or 1 Not supported in HTML5.
This attribute allows you to specify a frame’s border

Global Attributes

The <frame> tag supports the global attributes described in HTML Global Attributes Reference

Event Attributes

The <frame> tag supports the event attributes described in HTML Events Reference

Last updated: Monday 17 Sep, 2018