1.

Which of the following is correct about custom attributes in HTML5?

Answer»

Which of the following is CORRECT about custom attributes in HTML5?
Choose the correct option from below list
(1)A custom data attribute starts with data- and would be NAMED based on the requirement.
(2)The values of these attributes can be retrieved using JavaScript APIS or CSS, SIMILAR to standard attribute.
(3)Both of the above.
(4)None of the above

Answer:-(3)Both of the above.



Discussion

No Comment Found