all AI news
HTML Tags You Might Not Know About
May 23, 2024, 3:44 p.m. | Kiran Naragund
DEV Community dev.to
Hello Devs👋
In this post, I will share some new and helpful html tags which are added in HTML5 to write easy and fast code to create complex, dynamic, engaging, and effective websites.
Lets get started🚀
dialog
➡ Now you can easily create dialog box or a popup window with <dialog> tag. It’s a great way to create custom modal dialogs without relying heavily on JavaScript.
<dialog id="myDialog">
<p>This is a dialog box</p>
<button onclick="document.getElementById('myDialog').close()">Close
</button>
</dialog>
<button onclick="document.getElementById('myDialog').showModal()">Open …
beginners box code create devs dialog dynamic easy hello html programming tag tags webdev websites will
More from dev.to / DEV Community
Jobs in AI, ML, Big Data
AI Focused Biochemistry Postdoctoral Fellow
@ Lawrence Berkeley National Lab | Berkeley, CA
Senior Data Engineer
@ Displate | Warsaw
Solutions Engineer
@ Stability AI | United States
Lead BizOps Engineer
@ Mastercard | O'Fallon, Missouri (Main Campus)
Senior Solution Architect
@ Cognite | Kuala Lumpur
Senior Front-end Engineer
@ Cognite | Bengaluru