HTML Content Models
HTML interactive content
Content intended for user interaction, such as buttons and links with href. Membership may depend on attributes, for example audio with controls. Many elements prohibit interactive descendants; adding JavaScript or a CSS pointer cursor does not change the category. Categories describe authoring constraints and may overlap; they do not determine CSS display or by themselves guarantee accessibility.
Formal Syntax & Structure
html syntaxhtml
<button type="button">Action</button>Working Example
Example Snippethtml
<button type="button" onclick="this.textContent='Done'">Mark done</button>