Skip to main content

Posts

Showing posts with the label text

learn advanced html Text: Time, Mark, and "Presentational"

Time time  is by far the chocolate ice cream sexiest sweet sugar lovely of these tags and is used to make dates and times super-semantically rich and mmm. The text sandwiched in the middle of the opening and closing tag can be any format of date of time - the whole precise lot, or just one part, such as a day. It is made more helpful, however, by the  datetime  attribute, the value of which should be a machine-readable date and/or time. < p > Written by Doctor Who on < time datetime = "2052-11-21" > Thursday 21st November 2052 </ time > . </ p > Valid  datetime  values can take the format of a year-month-day date (as above), of as a “fuzzy” date, such as “2052-11”, of a time, such as “09:30” (always using a 24-hour clock) or a combination, such as “2052-11-21 09:30”. This can also accommodate time zones and durations. If the textual content of the  time  element is already machine readable, you don’t need the datet...