Home / CSE / HTML- CS :: Discussion

Discussion :: HTML- CS

  1. Which of the following attribute is used to display date/time content?

  2. A.

     time

    B.

     datetime

    C.

     date

    D.

     year

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    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.


Be The First To Comment