Skip to content
Hanxing Yang edited this page Jul 9, 2016 · 1 revision

name

button-name

description

Attribute name of <button> is not recommended to be set. If found set, it reports.

sample

<!-- Bad -->
<button name="">submit</button>
<button name="submit">submit</button>
  
<!-- Good -->
<button>submit</button>

code

  • 004

    Attribute name of <button> found set.

config

  • true

    Do check / format.

  • false

    Do not check / format.

format support

No.