![]() |
Definition and UsageThe 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 toThe
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 |
Read Full: | HTML Attribute |
Type: | Develop |
Category: | Web Tutorial |
Sub Category: | HTML Attribute |
Uploaded: | 6 days ago |
Uploaded by: | Admin |
Views: | 26 |
Reffered: https://www.w3schools.com/tags/att_inert.asp