0

尽管此页面似乎加载了文件,但我从 NU HTML 检查器收到错误消息。不知道如何清除错误,因为似乎正文中的所有内容当然都是 XHTML 正文元素的子元素。

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
   <head>
      <title>How About Them Apples?</title>
      <meta charset="utf-8" />
      <link href="apples.css" rel="stylesheet" type="text/css" />
   </head>
   <body>  
       <apples xmlns:apls="https://www.dole.com/en/products/apples">
          <apls:apple>
             <apls:name>Red Delicious</apls:name>
             <apls:color>Red</apls:color>
          </apls:apple>
          <apls:apple>
             <apls:name>Golden Delicious</apls:name>
             <apls:color>Yellow</apls:color>
          </apls:apple>
       </apples>
   </body>
</html>
4

0 回答 0