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
What are custom data attributes in HTML, and how can they be accessed and used with JavaScript?
RELATED INTERVIEW QUESTIONS
Explain the basic structure of an HTML document.
Can you explain the browser’s rendering process when an HTML page is loaded?
What are the global attributes in HTML? Provide examples.
What is the aria-label attribute, and how does it enhance accessibility in HTML forms?
What is the purpose of the srcset attribute in the <img> tag?
What are the different types of form elements in HTML?
What are Web Components in HTML, and how can they improve modular web development?
How do the data-* attributes work in HTML5, and how can they be accessed with JavaScript?
How does the <section> tag differ from the <div> tag semantically in HTML5?
What is the async and defer attribute in the <script> tag? How do they impact the way scripts are executed in HTML documents?
How does the data-* attribute work in HTML5? Provide an example of how it can be used with JavaScript.
How do you use the data-* attribute in HTML?
What is the use of the for attribute in the <label> tag, and how does it enhance form accessibility?
What is the <wbr> tag in HTML5?
How do you create a form in HTML? Provide an example.
X