非常困惑 [英] Very confused
问题描述
我是html5和Expression Web的新手,但我的理解是代码从以下开始:
I'm new to html5 and Expression Web but my understanding is the code starts with:
<!DOCTYPE html>
< ; html lang =" eng-UK">
<!DOCTYPE html>
<html lang="eng-UK">
并完成:
< / html>
</html>
错误消息显示"在html5中标签< html>不能包含标记< link>。"
Error message says "In html5 the tag <html> cannot contain a tag <link>."
如果是这种情况,我会在哪里放置"链接"标签??
If this is the case where would I ever put a "link" tag??
我还没有发布这个,但你刚刚发送了一份相关的帖子。据我所知,唯一的关系是在标题中,问题都是完全不相关的。如果有人可以回答我的简单问题,那就太好了。
I haven't posted this yet but you're just sent a list of top related posts. As far as I can see the only relation is in the title, the questions are all completely unrelated. It would be good if someone could answer my simple question.
再次感谢。
DavidBxx
推荐答案
< html>标签只能包含< head>和< body>标签。
<链接标签包含在< head>中。部分。所以:
The <html> tag can only contain <head> and <body> tags.
<link tags are contained by the <head> section. So:
<!DOCTYPE html>
< html lang =" eng-UK">
< head>
&NBSP;&NBSP; ... ...
&NBSP;&NBSP; < link ...>
&NBSP;&NBSP; ... ...
< / head>
< body>
&NBSP;&NBSP; ....
< / body>
< / html>
<!DOCTYPE html>
<html lang="eng-UK">
<head>
...
<link...>
...
</head>
<body>
....
</body>
</html>
这篇关于非常困惑的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!