最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

SRC Attribute | src Property

Internet Development Index

Sets or retrieves a URL to be loaded by the object.

Syntax

HTML<ELEMENT SRC = sURL... >
Scriptingobject.src [ = sURL ]

Possible Values

sURLString that specifies or receives the URL.

The property is read/write. The property has no default value.

Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see About Dynamic Properties.

Examples

This example uses the src property to change the image's SRC attribute.

<BODY onmousedown="oImage.src='sphere.jpg'"
onmouseup="oImage.src='cone.jpg'">
:
<IMG ID=oImage SRC="cone.jpeg">
This feature requires Microsoft® Internet Explorer 4.0 or later. Click the following icon to install the latest version. Then reload this page to view the sample.

This example uses the src property to change the SRC attribute of an iframe.

function changeFrame(){
alert (document.all.iframe1.src);
document.all.iframe1.src="http://www.microsoft.com/";
alert (document.all.iframe1.src);
}

Standards Information

This property is defined in HTML 4.0 Non-Microsoft link and is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 Non-Microsoft link.

Applies To

APPLET, EMBED, FRAME, IFRAME, IMG, INPUT type=image, XML
桦川县| 韶关市| 太白县| 资中县| 安仁县| 松桃| 西吉县| 宜丰县| 海丰县| 佛山市| 辉县市| 邓州市| 固阳县| 周至县| 余干县| 汉阴县| 正宁县| 南通市| 古浪县| 津市市| 鄯善县| 克山县| 齐河县| 深州市| 尉氏县| 黄石市| 安宁市| 仁布县| 新昌县| 平舆县| 得荣县| 祥云县| 资中县| 大邑县| 巩义市| 东至县| 京山县| 内黄县| 河北省| 闻喜县| 青河县|