HTML: Anchor point - what is it?

0

Can anyone tell me why the anchor point is not working?

<html>
<head>
<title> Lake Tahoe </title>
<style>
body {
    text-align: center;
}

h1 {
    font-size: 52px;
    color: white;
}

header {
    background-color: orange;
}

p {
    font-size: 20px;
    background-color: lightblue;
}

</style>
</head>

<body>
<header id="top">
<span> Journey through the Sierra Nevada Mountains</span>
<h1>Lake Tahoe, California</h1>
</header>
<p>
Lake Tahoe is one of the most atractions located in California. Lake Tahoe is one of the most atractions located in California. ILake Tahoe is one of the most atractions located in California.
</p>

<p>
Lake Tahoe is one of the most atractions located in California. Lake Tahoe is one of the most atractions located in California. ILake Tahoe is one of the most atractions located in California.
</p>

<p>
Lake Tahoe is one of the most atractions located in California. Lake Tahoe is one of the most atractions located in California. ILake Tahoe is one of the most atractions located in California.
</p>

<footer>
<p>All rights reserved.</p>
<a href=“#top”> Back to top </a>


</footer>
</body>
</html>
    
asked by anonymous 07.03.2016 / 14:18

1 answer

3

Instead of

<a href=“#top”> Back to top </a>

Use

<a href="#top"> Back to top </a>

(In its original version, the setters of the href property are not simple double quotation marks, and therefore considered part of the link .)

    
07.03.2016 / 14:30