html - How can I semantically define within the <time> tag 'the present' -


i using time tag define time—seemed right approach ;-)

my problem value want place within time tag now: the present. validation error:

the text content of element time not in required format: literal did not satisfy time-datetime format." 

looking @ spec, doesn't seem possible define 'now'. that's nuisance. ideas on how approach this?

you cannot. time element in html5 defined markup specific moments or periods or durations of time or time offsets, not concepts related time.

you can write e.g. <time datetime="2013-04-06t13:53">now</time>, thereby associating fixed moment of time text content “now”. don’t see how useful, , usefulness of time element in general questionable (it looks markup markup’s sake), things can “define ‘now’” time.


Comments

Popular posts from this blog

ios - iPhone/iPad different view orientations in different views , and apple approval process -

java Extracting Zip file -

C# WinForm - loading screen -