Re: HTML5 Validation Error Consult
"Michael[tm] Smith" <[email protected]> Wed, 27 May 2015 20:25:39 +0900
| Newsgroups | gmane.org.w3c.validator |
|---|---|
| Message-ID | <[email protected]> |
Hi Kevin, Kevin Fu <[email protected]>, 2015-05-13 11:59 +0800: > Archived-At: <http://www.w3.org/mid/[email protected]> > > Hi, > > I tried to validate my web site: http://www.theplace1887.com > It’s a simple HTML page. But the result says I have an unexpected </p> end tag and I’m pretty sure I don’t. (Screen Shot 2015-05-13 at 11.57.59 AM.png) > > The begin <p> tag is on line 221. > > Is there anything I missing? Thank you for your time. You can’t put div element inside of a p element. So when the HTML parser reaches the div start tag on line 224, it closes rhe p element you opened on line 221. Essentially it automatically generates a closing p tag. And then later it finds another closing p tag on line 292 but it has already closed the p element. Hence the error message you’re seeing. ーMike -- Michael[tm] Smith https://people.w3.org/mike
signature.asc
(application/pgp-signature, 819 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJVZamyAAoJEIfRdHe8OkuVzhMP/0ptqXyggerztFOo0w3nssep dZWPvs/JWp301n/P7GqC7IrPRg8kUrTs6sdYC+ZNtd+a/RC8/aPThzedfH0rJOVw Y0DFK9sOGv6hZr6LMRI0eAoLyB1FfWRsYRfT/+5rzMg6d4MsXhu1CijJfhz12RJ9 symO5cY/N/4yIpAyiQBu2ODExMJzjKK/g4gipi1U/8auhtz38TIgMDOOsZh32SRw Z3tLq3dm5KX9JD6j1GSGN8uNU+pzekGhxzrHI9enIvDxbfB3oVGnPjD5/k+UeuqX IarVGu7V37jeGu7NnhCKPz+eszxJPZXUqRiG3qHIzSXJ+/oLtw+KJV5hunaXOuO8 78HHNK5Vmtm+9rZl4rRazGqwvvQ2J2Z/ZZQuyooUKI5U3PnNWzWLFHyBl1YY5brj FR8kkNvTbgIuCl1UyVMoT4vZ70cb7Yq1V+R3sXgTgheNEJJ4Q19YDwTo46JnVPGD D1q5En+9fjiy5dCfaxVYIJ5KZTV74PXOkdP7xqddIp+oSExXtTo0zQ2YvM/oF+ej B0ZZ2nnvhs4M58Qi3n+Ge4CBm/QLd/oz44J/WaWuZfscunXc1tir32M2YIDfSvH1 PKj8Yw8GKOL9OvykvOoWNsErQEfuvmadQ1Z4QStpihy08lVyDphLL+E6RXE59J+K dov5e+wgMMPYB6ODAhC5 =2Ecn -----END PGP SIGNATURE-----