提问人:cameron harwood 提问时间:3/11/2023 最后编辑:cameron harwood 更新时间:3/11/2023 访问量:25
我在 XHTML 1.0 严格文档中有一个元标记错误
I have a meta tag error in XHTML 1.0 strict document
问:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <!--Contains document type definition-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><!--means XHTML document is enclosed by the html tag-->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!--this meta tag specifies the character set as utf-8 like in html-->
<title>Private Medical Park Dentistry</title>
</head>
我在 w3 验证器中出现错误:错误:XHTML 元素元上的属性 http-equiv 的 Content-Type 值错误。从第 5 行第 5 列开始;至第 5 行第 74 列标题> ↩
答: 暂无答案
评论