HTML Attributes


  • HTML elements can have attributes
  • Attributes provide additional information about an element
  • Attributes are always specified in the start tag
  • Attributes come in name/value pairs like: name="value"

HTML Image tag are defined with the <img> tag. The Image source is specified in the src attribute:

Example

Edututorials Logo