No p element in scope but a p end tag seen.w3c validation
问题 My HTML is as as below. I have opened all elements and closed them. Still when I check it on w3c it shows error. I cant figure it out. <!doctype html> <html> <head> <meta charset="utf-8"> <title>Untitled Document</title> </head> <body> <p> <div class="inr_content clearfix"> <div class="col2 first fl"> to provide a drive-in services. </div> <div class="col2 last fr"> to provide a drive-in services. </div> </div> </p> </body> </html> 回答1: That's because you are nesting a block level element