I am attempting to use the following HTML5 syntax, and it is not working. The whole document turns red. It should not.
<html>
<head>
<title>New Document</title>
</head>
<body>
<div>
<style scoped="scoped">
p {
color:red;
}
</style>
<p>This should be red.</p>
</div>
<p>This should be black.</p>
</body>
</html>
<html>
<head>
<title>New Document</title>
</head>
<body>
<div>
<style scoped="scoped">
p {
color:red;
}
</style>
<p>This should be red.</p>
</div>
<p>This should be black.</p>
</body>
</html>