It\'s very strange,but still work.

5条回答
  •  时光取名叫无心
    2021-01-07 23:42

    Yes, it violates the HTML specification.

    
    

    (from the div section of the specification)

    Follow the hyperlinks in the live version if you want to see exactly how %flow; expands (it doesn't include style).

    Browsers just tend to do huge amounts of error recovery because so many authors do stupid things.

    Don't depend on error recovery — there are lots of browsers out there, and they don't all behave the same way when the HTML doesn't conform to spec.

提交回复
热议问题