Errors when trying to put an anchor element in


#1


https://www.codecademy.com/courses/make-a-website/lessons/site-structure/exercises/anchor-elements


When I try to make an anchor element I keep getting the same errors, which are: special characters must be escaped : [ < ]. and also the same error with this at the end: [ > ]. and Tag must be paired, no start tag : [ </a ] I've been trying for an hour and googled a bit but I don't get it.

<!DOCTYPE html>
<html>
<head>
  <title>Ollie Bike Sharing</title>
  <meta charset="utf-8"/>
  <link rel="stylesheet" type="text/css" href="main.css">
</head>
<body>
<h1>
  Test
  </h1>
<h3>
 Test
  </h3>
  <p>
    Here is a <a href=''cities.html''>list</a> of cities where you can find us.
  </p>
  </body>
</html>


#2

Change the quotes to either,

'cities' or "cities"

#3

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