[英]<!DOCTYPE html> vs <!doctype html> and <meta charset=“utf-8”> vs <meta charset=“utf-8” />
Document Type Declaration文件类型声明
<!DOCTYPE html>
vs <!doctype html>
<!DOCTYPE html>
与<!doctype html>
Capital letter DOCTYPE declaration or small letter doctype declaration which one is authentic?大写的DOCTYPE声明和小写的doctype声明哪个是正品?
Character encoding meta tag字符编码元标记
Same type of 3 character encoding meta tags相同类型的 3 字符编码元标记
<meta charset="utf-8">
non-slash version <meta charset="utf-8">
非斜线版本<meta charset="utf-8"/>
slash version <meta charset="utf-8"/>
斜线版<meta charset="utf-8" />
a single white space followed by slash. <meta charset="utf-8" />
一个空格,后跟斜线。Which one is authentic?哪一个是正宗的?
To be sincere all are the same.真诚的一切都是一样的。 It depends on your preference You can choose to use any of them.这取决于您的偏好您可以选择使用其中的任何一个。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.