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 <object> tag used for in HTML5?
What is the <output> tag in HTML5 used for?
What does the tabindex attribute do in HTML?
How do you insert an image in HTML? Provide an example.
What is the role of the lang attribute in the <html> tag and its effect on localization?
How does the viewport meta tag work for responsive web design?
How can the class attribute be used for both styling and JavaScript manipulation?
How do you create a sticky header in an HTML document?
Can you explain the role of the <datalist> tag in providing pre-defined options for an <input> field?
How does HTML5 handle the use of <video> and <audio> tags for multimedia content?
What is the significance of the method=post in HTML forms, and how does it differ from method=get?
What is the <script> tag used for in HTML?
What is the role of the <b> and <strong> tags in HTML, and how do they affect text presentation?
How does HTML5 support responsive web design?
How does the href attribute in anchor (<a>) tags behave with relative versus absolute URLs?
X