[英]Do you need to HTML encode Title tags?
Should you HTMLencode Title tags in the head section of an HTML page? 你应该在HTML页面的head部分HTMLencode Title标签吗?
eg <title>This & That</title>
例如<title>This & That</title>
or <title>This & That</title>
或<title>This & That</title>
<title>This & That</title>
Yes you should use &
是的你应该使用&
instead of &
inside your <title>
tag, same with any other tag in your HTML or XML document. 代替<title>
标记内的&
,与HTML或XML文档中的任何其他标记相同。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.