Get the code of Meter Tag with CSS and watch video tutorials. You can practice using our code editor. Our practical guide will make your learning journey much easier. You can explore the tutorial and learn.
<button command="show-modal" commandfor="dialog">Open</button>
<dialog id="dialog">
This is dialog..
<button command="close" commandfor="dialog">Close</button>
</dialog>button {
color: white;
background: red;
border: none;
border-radius: 5px;
padding: 5px 10px;
}
dialog {
background: yellow;
border: 2px solid red;
border-radius: 5px;
}