最新国产好看的视频,伊人天堂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
蕉岭县| 浦江县| 江门市| 闽侯县| 苍溪县| 金平| 吴江市| 惠水县| 玉龙| 静乐县| 东阿县| 桂林市| 乐都县| 嵊州市| 夏邑县| 博罗县| 舒城县| 政和县| 育儿| 城市| 綦江县| 隆昌县| 襄汾县| 陕西省| 北辰区| 渝中区| 宜州市| 临湘市| 灵璧县| 浦江县| 凤凰县| 龙岩市| 丹巴县| 哈尔滨市| 日照市| 南汇区| 保靖县| 栾城县| 都江堰市| 芜湖县| 伽师县|