// GetAttribute returns an Attributer value by its name.
//
// This includes attribute values related to Class, and Style. If an Attributer of the passed name has not been set `nil`
// it's returned.
GetAttribute returns an Attributer value by its name.

This includes attribute values related to Class, and Style. If an Attributer of the passed name has not been set `nil`
it's returned.
// GetAttribute returns an Attributer value by its name . // // This includes attribute values related to Class and Style . If an Attributer of the passed name has not been set ` nil ` // it ' s returned .
func (t *Tag) GetAttribute(name string) Attributer {
	attrs := t.GetAttributes()
	for i := 0; i < len(attrs); i++ {
		if attrs[i].GetAttribute().Name == name {
			return attrs[i]
		}
	}
	return nil
}
func ( t * Tag ) GetAttribute ( name string ) Attributer { attrs := t . GetAttributes ( ) for i := 0 ; i < len ( attrs ) ; i ++ { if attrs [ i ] . GetAttribute ( ) . Name == name { return attrs [ i ] } } return nil }
GetAttribute returns an Attributer value by its name.
GetAttribute returns an Attributer value by its name .