Name
SRC — NN all IE all HTML all
Synopsis
SRC=”URL"
Required
URL to a file containing image data that is displayed through the
INPUT
element of type image. The browser must be
equipped to handle the image MIME type. On the World Wide Web, the
most common image formats are GIF and JPEG.
Input Types
image
Example
<INPUT TYPE="image" NAME="icon" SRC="sndIcon.gif" BORDER=0>
Value
A complete or relative URL.
Default
None.
Object Model Reference
- IE
[window.]document.formName.inputName.src
[window.]document.forms[i].elements[i].src
[window.]document.all.elementID.src
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.