How to deal with hr horizontal rules – invalid code
-
When I place an hr in my code, it doesn’t validate. The problem is that WordPress automatically wraps it in paragraph tags, which is to my understanding invalid.
For example I have this in my entry:
text
hr
text
and it does this:
p text p
p hr p
p text p
Are there any workarounds for this? Or plugins to deal with how WordPress interprets the entry text (so that it doesn’t automatically wrap hr with p tags)?
Thanks in advance!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘How to deal with hr horizontal rules – invalid code’ is closed to new replies.