![]() |
Definition and UsageThe You can choose between the values "show", "hide", and "toggle". The If the Applies toThe
Browser Support |
Example:
HTML
<!DOCTYPE html>
<html>
<body>
<h1>The input popovertargetaction Attribute</h1>
<h1 popover id="myheader">Hello</h1>
<input type="button" popovertarget="myheader" popovertargetaction="show" value="Show popover">
<p>Click the button and it will show the popover element.</p>
</body>
</html>
html popovertargetaction attribute |
When the input button is clicked, the popover element will show - HTML popovertargetaction Attribute | HTML Attribute |
Read Full: | HTML Attribute |
Type: | Develop |
Category: | Web Tutorial |
Sub Category: | HTML Attribute |
Uploaded by: | Admin |
Views: | 42 |
Reffered: https://www.w3schools.com/tags/att_popovertargetaction.asp