HTML Attributes

Attributes In HTML :


  • HTML components can have attributes.
  • Characteristics provide more information about an element.
  • Characteristics are usually specified in the begin label.
  • Characteristics can be found in name/value couples like: name=”value”.

    Example Of Attribute :

    HTML links are explained with the <a> tag.The link address is given in the href attribute,

    <a href=”http://www.vivekbarot.com”>This is a link</a>



    Attributes Reference In HTML :

    Attribute                description

    style   :       Identifies an inline CSS model for an factor.
    id        :      Specifies a distinctive identification for an element.
    title     :     Specifies extra information about an factor (displayed as something  tip).                                           
    class  :    Describes one or more classnames for an element (refers to a type in a mode sheet).                    
                                                      in a mode sheet).
  • Leave a Reply

    Your email address will not be published. Required fields are marked *