Basic HTML LINK TO INTERNAL

Basic HTML LINK TO INTERNAL
0.0 0

#1

Hello, could someone explain this to me: The footer tag should have an attribute id set to “footer”. It’s the only problem I have left to solve this exercise, it took a while and I’m unable to solve xD


#2

Did you give to the footer an id of “footer”? How did you try to solve it?


#4

first change the footer below the text that has the footer and failure xD. Then try to put:

<a href="#footer" Jump to Bottom .

And finally I wanted to put it inside:

<a href= #footer" footer “http://freecatphotoapp.com”> Jump to Bottom .

And now I have to leave, as soon as I return I will continue to try until I understand what happens xD


#5

The way you give an id to an element, i.e. h1, is like:

<h1 id="a_unique_id">The Title with a unique id</h1>

Do the same but with the footer. Then, to link to the footer, you give the href="#footer" to the <a> element, just that, no need for the entire address.
One could say that the # is a simbol for referencing an id.

See the example from the instructions:

<a href="#contacts-header">Contacts</a>
<h2 id="contacts-header">Contacts</h2>

#6

hahaha, thank you very much at the end I could solve it.