Validation Problems
-
Hey all,
I’m trying to get my block to validate correctly at https://validator.w3.org/
For reference, my blog URL is https://www.nfldraftdirt.com
I’m looking at the errors that the validator is giving me and I know the solution but I can’t implement it.
The problem is that I’m opening an anchor tag before I close a strong tag. I can’t figure out how to close the strong tag before opening the anchor tag because it is all done dynamically. Here is the code in question:
<div class="entrymeta">
Posted <?php
the_time('F j, Y ');
$comments_img_link= <img src="' . get_stylesheet_directory_uri() . /images/comments.gif" title="comments" alt="*" /><strong>;
comments_popup_link($comments_img_link .Comments(0)', $comments_img_link .' Comments(1)', $comments_img_link . ' Comments(%)');
edit_post_link(__(' Edit'));?>
</strong> </div>Any suggestions? Also, if you know how to solve any of the other validation problems I would more then appreciate it.
Thanks a lot!
- The topic ‘Validation Problems’ is closed to new replies.