$element->removeAttributes (mixed $attrs)
$element->removeAttributes
use this to remove attributes from the tag when the element is rendered, It may be easier to access the attributes array directly and assign the value to false.
$attributes name or array of names to remove from tag
throws
This function can not be called statically.