Why doesn't form nested in p validate as XHTML

前端 未结 5 1374
礼貌的吻别
礼貌的吻别 2020-12-10 10:56

Take for instance this XHTML snippet:

         


        
5条回答
  •  青春惊慌失措
    2020-12-10 11:22

    I ran a test with your HTML code through validator.w3.org and the result is that you need to swap the P and FORM tags for it to pass as valid W3C HTML.

    
    
    
      A webpage
    
    
      

提交回复
热议问题