The HTML Attribute reference.

"src" - html Attribute

  • This attribute specifies resources for an element.
  • Look at details for each element.

Value(s): uri
Used in the element(s):
Elements Description
frame This element defines a frame, which is a rectangular subspace within a Frameset document. Attribute, src, usage:
  • Specifies the location of the initial contents to be contained in the frame
iframe This element defines an inline frame for the inclusion of other HTML documents.Attribute, src, usage:
  • Specifies the location of the initial contents to be contained in the iframe
img This element specifies an inline image to be drawn in the place.Attribute, src, usage:
  • Specifies the location of the image resource. Examples of widely recognized image formats include GIF, JPEG, and PNG.
input This element defines a form control for the user to enter input.Attribute, src, usage:
  • When the type attribute has the value "image", this attribute specifies the location of the image to be used to decorate the graphical submit button.
script Defines a script (javascript, vbscript ....) which may be used within a document. A script contains code which is executable. You may also include a version number to precisely inform the browser the support you need for the script.Attribute, src, usage:
  • Specifies the location of an external script.

© 2010 by Finnesand Data. All rights reserved.
This site aims to provide FREE programming training and technics.
Finnesand Data as site owner gives no warranty for the correctness in the pages or source codes.
The risk of using this web-site pages or any program codes from this website is entirely at the individual user.