1. 忽略<body>标签是合法的,HTML解析器可以自动推导缺失的标签
参考:https://www.w3.org/TR/2008/REC-CSS1-20080411/
This will work even if the author has omitted the ‘BODY‘ tag (which is legal) since the HTML parser will infer the missing tag.
时间: 2024-11-05 13:42:36
1. 忽略<body>标签是合法的,HTML解析器可以自动推导缺失的标签
参考:https://www.w3.org/TR/2008/REC-CSS1-20080411/
This will work even if the author has omitted the ‘BODY‘ tag (which is legal) since the HTML parser will infer the missing tag.