Can i get help?


#1

what does “#” do in this code
<a href= img “#”>click this


#2

The octothorpe, often referred to as a hash symbol, signifies the root fragment, namely the top of the current page. If you were to click that link, the page would scroll to the very top.

In HTML, a page fragment is any element in the page with an id attribute.

<div id="history">

</div>

<nav>
    <a href="#history">History</a>
</nav>

#3

Thank you for the advice


#4

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