Skip to main content

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

By Uncategorized

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.

Leave a Reply