80. removeAttribute

Parameter syntax:

[ '[force]' ]? [ '[implicitElement]' ]? attribute_name

This command is only useful to write macro commands.

Removes attribute attribute_name in explicitly or implicitly selected element if the grammar constraining the document allows to do so.

Option [force] may be used to remove specified attribute even if the grammar constraining the document does not allow to do so.

Examples:

removeAttribute [implicitElement] cols
removeAttribute role
removeAttribute [force] linkend
removeAttribute [force] [implicitElement] linkend