-
Notifications
You must be signed in to change notification settings - Fork 8
rule css in head
Hanxing Yang edited this page Jul 9, 2016
·
1 revision
css-in-head
All CSS contents (<link rel="stylesheet"> or <style>) are recommended to be imported in <head>. If found not in <head>, it reports.
<!-- Bad -->
<body>
<style>
body{
color: #333;
}
</style>
<link rel="stylesheet" href="../test.css">
</body>
<!-- Good -->
<head>
<meta charset="UTF-8">
<title>sample</title>
<style>
body{
color: #333;
}
</style>
<link rel="stylesheet" href="../test.css">
</head>-
008CSS contents found not in
<head>.
-
trueDo check / format.
-
falseDo not check / format.
Yes.