Which of the following attribute is used to display date/time content?
A. time
B. datetime
C. date
D. year
Answer: Option B
Solution(By Examveda Team)
To provide both human and machine-friendly date/time content, the element supports a datetime attribute, which should be set to the previously mentioned date format of YYYY-MM-DDThh:mm:ssTZD.Related Questions on HTML5
Which of the following HTML 4 attributes is removed in HTML5?
A. text
B. rules
C. link
D. all of the mentioned
Which of the following is not a newly added element in HTML5?
A. article
B. audio
C. nav
D. frameset
__________ defines the accelerator key to be used for keyboard access to an element.
A. data-X
B. accesskey
C. rp
D. command
Join The Discussion