English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
This article introduces the HTML frame src attribute that specifies the URL of the document to be displayed in the frame, with an online example demonstrating how to use the HTML frame src attribute, browser compatibility, syntax definition, and detailed information about its attribute values.
The src attribute specifies the location of the document to be displayed in the <frame>:
<frameset cols="50%,50%"> <frame src="frame_a.htm"> <frame src="frame_b.htm"> </frameset>Test it out ‹/›
IEFirefoxOperaChromeSafari
All major browsers support the src attribute.
HTML5 The <frame> tag is not supported.
The src attribute specifies the URL of the document to be displayed in the frame.
<frame src="URL">
Value | Description |
---|---|
URL | Specifies the address of the document to be displayed in the frame. Possible values:
|