gpt4 book ai didi

html - 元标签是否应该放在样式标签中

转载 作者:行者123 更新时间:2023-11-28 04:49:48 24 4
gpt4 key购买 nike

meta 标签是否需要包含在 style 标签中(如 CSS):

<head>
<style>
<meta name="title" content="Some text here" />
</style>
</head>

或者这样好吗:

<head>
<meta name="title" content="Some text here" />
</head>

最佳答案

  1. 它不在样式标签中。
  2. 在 CSS 之前还是之后都没有关系。
  3. / 不是必需的(除了在 XHTML 中,您没有提到使用它)
  4. 即使您确实使用了 /,也不需要空格。

关于html - 元标签是否应该放在样式标签中,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35143533/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com