Examveda
Examveda

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.

This Question Belongs to HTML >> HTML5

Join The Discussion

Related Questions on HTML5