Hey Guys,
I'm having trouble getting the <time> element in validate in HTML5 when generated by PHP/WordPress. I've tried several variants, but here is my starting point. Any ideas?
<time><?php the_time('F jS, Y') ?></time>
Hey Guys,
I'm having trouble getting the <time> element in validate in HTML5 when generated by PHP/WordPress. I've tried several variants, but here is my starting point. Any ideas?
<time><?php the_time('F jS, Y') ?></time>
I'm not sure what your php echos out, but its value should follow W3C's syntax guidelines http://www.w3.org/TR/html-markup/time.html
You must log in to post.