Account
Login
Categories
HTML
CSS
Python
PHP
MySQL
Linux
Javascript
HTML
CSS
Python
PHP
MySQL
Linux
Javascript
Shobha
The best way to predict the future is to invent it
How does the data-* attribute work in HTML5? Provide an example of how it can be used with JavaScript.
RELATED INTERVIEW QUESTIONS
What is the <canvas> tag used for in HTML?
How does the
tag work in HTML?
What does the <datalist> tag do in HTML5?
What is the default rendering behavior for empty HTML elements like <li>, <div>, or <span>?
How do you control the text direction in an HTML document using the dir attribute?
How can the aria-label attribute improve web accessibility in HTML?
How do you create a multilingual website using the lang attribute in HTML?
What is the difference between the
and
tags?
Can you explain how HTML can be used to define a favicon for a website?
What is the role of the <b> and <strong> tags in HTML, and how do they affect text presentation?
What are the new form elements introduced in HTML5?
What does the srcset attribute do in the <img> tag?
What is the role of the <ruby> tag in HTML5 for rendering East Asian typography?
What is the placeholder attribute in HTML5 used for?
What is the <script> tag used for in HTML?
X