HTML <input> Tag with the 'src' Attribute

<form name="myForm" action="">
<input type="image" src="" alt="Australia & NZ Map" name="myImageField">


The above example demonstrates usage of the <input> element with the src attribute.

The src attribute is used with image buttons to provide the URL of the image. The attribute is optional, but if present, its value must be a valid URL.