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 role of the <header>, <footer>, <section>, and <article> tags?
What is the
tag used for in HTML?
What is the use of the <source> tag in the <video> and <audio> tags in HTML5?
What are the default margins applied by browsers to HTML elements like <body>, and how can they be controlled?
What is the <wbr> tag in HTML5?
What is the default rendering behavior for empty HTML elements like <li>, <div>, or <span>?
Can you explain the role of the <datalist> tag in providing pre-defined options for an <input> field?
What is the difference between <ol>, <ul>, and <dl> tags in HTML?
What is the difference between the <b> and <strong> tags in HTML?
What are the different types of form elements in HTML?
How does HTML5 differ from older versions in terms of the <audio> and <video> tags?
What is the hidden attribute in HTML, and how does it affect the visibility of elements?
How do you create a list of hyperlinks in HTML?
Explain the difference between block-level and inline elements in HTML.
Explain the basic structure of an HTML document.
X