Name
src — NN n/a IE 4 DOM 1
Synopsis
Read/Write
URL of the external content file loaded into the current element. To change the content, assign a new URL to the property.
Example
document.all.myIframe.src = "section2.html"
Value
Complete or relative URL as a string.
Default
None.
Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.