![]() |
Definition and Usage
The The elements are still visible, but they have no function: buttons and links cannot be clicked, input fields are disabled etc., and they are ignored by screen readers. Applies to
The
Browser Support
|
Example:
HTML
<div inert> <button onclick="alert(42)"> <input type="text"> <a href="https://horje.com">Horje.com</a>
</div>
html inert attribute |
How to Disable a section with the inert attribute | HTML Attribute |
Type
: |
Develop |
Category
: |
Web Tutorial |
Sub Category
: |
HTML Attribute |
Uploaded by
: |
Admin |
Read Article https://horje.com/learn/1434/reference