Missing <p> tag on post
I have noticed that if I place an image in a post, surrounded by a DIV (in this case to allow both image and caption), WP does not place an opening tag at the text following the </div> but it does put a closing p tag at the end. Hence the HTML becomes invalid. Still works OK of course.
Is placing a div in a post taboo?
- The topic ‘Missing <p> tag on post’ is closed to new replies.