HTML question : any way to force the closure of open tags ?
-
Hello,
This question concerns my wordpress blog even if it is not strictly WP related, I hope it’s OK to ask it here ??
Simply said, it may happen that I forget to close an html tag in my blog, or close it incorrectly (for instance, the Visual Editor replaces i with em but when I do manual edits I usually still close it with an /i instead of the required /em).
And when that happens, the unclosed tag will affect my whole blog, below posts, sidebar and footer.I wonder, would there be a “magical” trick to force the closing of all html tags at the end of a blog post ?
I suppose I could forcibly add my single.php page a line with closing codes for all the usual tags ( /i /em /a /b /strong /u /ul /font /span, etcetera), but it wouldn’t be a very clean code in the end.
Thanks if you can help with the solution, please save my blog from having unclean code added to my single.php ! ??
Sabinou
- The topic ‘HTML question : any way to force the closure of open tags ?’ is closed to new replies.