<!doctype html>
<html>
<title>some title</title>
<link href="index.css" rel="stylesheet">
<style>
// some styles...
</style>
<body>
<style>
// some styles...
</style>
...
</body
</html>
使用w3c validation service我已经得到了错误:风格缺少必需的属性
Element style is missing required attribute
缺少什么?
我不得到这个错误消息。我收到消息“元素样式缺少必需的属性作用域”,这是非常明显的。 –