I don't understand error code - special characters must be escaped


#1

Hello, I'm new to coding and I am struggling to understand the red error on my code which says - special characters must be escaped [ < ] here is an example on line 4 its highlighted red and says the message....does anyone know why??


<!DOCTYPE html>
<html>
  <head>
    <link href="style.css" type="text/css"rel='stylesheet'>

  </head>
  <body>
    <div clas


#2

Try using only one kind of quotes...

<link rel="stylesheet" type="text/css" href="style.css">

You also need to make sure you close your div, properly give it a class name, and close your body and html tags.


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.