src/HTMLTag.php
public function removeAttribute($name)
    {
        if(strlen($name) < 1)
        {
            throw new HTMLTagException("Attribute name is empty");
        }

        unset($this->tag_attributes[strtolower($name)]);

        return $this;
    }
public function removeAttribute($name)
    {
        if(strlen($name) < 1)
        {
            throw new HTMLTagException("Attribute name is empty");
        }

        unset($this->tag_attributes[strtolower($name)]);

        return $this;
    }
public function removeAttribute ( $ name ) { if ( strlen ( $ name ) < 1 ) { throw new HTMLTagException ( "Attribute name is empty" ) ; } unset ( $ this -> tag_attributes [ strtolower ( $ name ) ] ) ; return $ this ; }
Removes the attribute from the tag, along with its value.
@param   string  $name
@return  HTMLTag
@throws  HTMLTagException
Removes the attribute from the tag along with its value .