Horje

How to Disable a section with the inert attribute

The button, the link, and the input field above are disabled because of the inert attribute.
index.html
Example: HTML
 <div inert>
  <button onclick="alert(42)">
  <input type="text">
  <a href="https://horje.com">Horje.com</a>
</div> 

Output should be:

How to Disable a section with the inert attribute




Type:
html
Category:
Web Tutorial
Sub Category:
HTML Attribute
Uploaded by:
Admin