05 Jun 2003 @ 8:46 AM 

When I run my site through the W3 Validator, I get an error I’ve never seen before.

document type does not allow element “hr” here; missing one of “object”, “applet”, “map”, “iframe”, “button”, “ins”, “del” start-tag

So, I can’t put a horizontal rule anywhere except inside one of those tags? I absolutely never use those tags. Obviously the page renders acceptably, but why is there an error? XHTML geeks?

For that matter, why do I get an error on those HR tags, but not on others?


I got it. Turns out the editor for Movable Type automagically puts in some line breaks and paragraph marks that confused the validator. You can’t put an HR tag in a paragraph. 🙂

Posted By: Gary
Last Edit: 05 Jun 2003 @ 08:46 AM

EmailPermalink
Tags
Categories: Geek


 

Responses to this post » (None)

 

Sorry, but comments are closed. Check out another post and speak up!

Tags
Comment Meta:
RSS Feed for comments

 Last 50 Posts
Change Theme...
  • Users » 3
  • Posts/Pages » 2,264
  • Comments » 895
Change Theme...
  • VoidVoid « Default
  • LifeLife
  • EarthEarth
  • WindWind
  • WaterWater
  • FireFire
  • LightLight

MythTV



    No Child Pages.

Who is Bunk?



    No Child Pages.