When trying to code parts such as 20:00 to 22:00,
<span>
<time datetime="20:00">20:00</time>
~
<time datetime="22:00">22:00</time>
</span>
Is this the only way to code?
<time datetime="?">20:00~22:00</time>
Isn't there a way to express it in one line code?
fast-frontend html
Hello, I'm Yamoo. ^ -^
The datetime
attribute value that describes a specific time to a specific time is not currently available in HTML 5.2 Standard Technical Document . Instead, the 98th example of a standard technical document shows an example structured using two <time>
elements to describe a specific time interval.
© 2024 OneMinuteCode. All rights reserved.