HTML Chapter #1

#1.4 | Attributes | Additional Information about Element.


What is Attribute

  • Attributes tell us more about the contents of an element.
  • Attributes always appear on the opening tag of the elements.
  • Attributes usually come in pairs, like a name and a value, separated by an '=' sign.




          The attribute name indicates what kind of additional information you provide to element's content and the attribute value is information or setting for the attribute. attribute value placed within double quotes.
          In this example, the attribute name is href which is used to hyperlink the content with the attribute value.

Previous | Next >



Subscribe My YouTube Channel - http://bit.ly/2x7HSsw
Like Our Facebook Page - www.fb.com/RubanTheGeek
Follow Us on Twitter -  www.twitter.com/ruban_thegeek


Comments