Press "Enter" to skip to content

The usage of the attributes “alt”, “height”, “src”, “title” of the element.

0
  • Alt Displays an alternate string of text instead of an image if the user has a text only browser or has graphics turned off.
  • Height specifies the height of the image in pixels.
  • src The only required attribute, src specifies the URL of the graphic file you want to display. As with any URL, the path must be relative to the HTML file.
  •  Title a string of text that provides information about the image. Visual browsers display the contents of the title attribute as a tool tip or Screen Tip (a pop-up window that appears when the user pauses the pointing device over an object). An audio browser could speak the title information
Share
Share