Basic HTML and HTML5: Make Dead Links Using The Hash Symbol | freeCodeCamp

When building HTML5 or HTML websites, sometimes it makes sense to add a quick hash symbol (#) to the “herf” portion of your “a” element. Why? This is a useful practice so you can mark a link in your code, but you can plan where it will link to in the future.

The main thing to learn from this is that you can leave ‘href’ elements with the hash symbol to avoid getting hung up while writing a larger application.

Posted in Uncategorized

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>