Here is some HTML code that I'm struggling with:
<!DOCTYPE html>
<html>
<head>
<title>Test</title>
<style>
body<-->{
font-family: sans-serif
}
</style>
</head>
<body>
Text
</body>
When I view this code in Firefox and IE, it displays correctly. However, when I view it in Chrome, the text appears in italics. What could be causing this issue? It seems like there's no way to fix it.
Interestingly, even this text that I am currently typing has started appearing in italics as well.