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

EmailPermalinkComments Off on XHTML Trouble
Tags
Categories: Geek

 Last 50 Posts
Change Theme...
  • Users » 2
  • Posts/Pages » 4,954
  • Comments » 896
Change Theme...
  • VoidVoid « Default
  • LifeLife
  • EarthEarth
  • WindWind
  • WaterWater
  • FireFire
  • LightLight

MythTV



    No Child Pages.

Who is Bunk?



    No Child Pages.

Friends



    No Child Pages.