Account
Login
Categories
HTML
CSS
Python
PHP
MySQL
Linux
HTML
CSS
Python
PHP
MySQL
Linux
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 are the new input types introduced in HTML5?
How do you group form elements in HTML?
Can you explain the role of the <datalist> tag in providing pre-defined options for an <input> field?
Explain the difference between block-level and inline elements in HTML.
What is the <summary> tag used for in HTML5?
How does the <noscript> tag affect users with JavaScript disabled?
What is the <iframe> tag used for?
What is the purpose of the <data> element in HTML5?
What are the differences between localStorage and sessionStorage in HTML5?
What is the role of the type attribute in the <script> tag in HTML?
How do you add a favicon to your website in HTML?
How do you create a multilingual website using the lang attribute in HTML?
What is the role of the rel attribute in a <link> tag, and how does it affect linking to stylesheets, icons, etc.?
What is the use of the placeholder attribute in HTML input fields?
How does HTML5 support responsive web design?
X