Html Tutorial For Beginners Part 6
In this post you'll learn how to create dead link using hash symbol #
Sometimes you want to add a
element to your website but still don't know where it will link.
This is also handy when you're changing the behavior of a link using JavaScript, which we'll learn later.
For example the current value of href attribute is https://www.freecodecamp.org
.
replace href value with #
symbol to create a dead link.
This is the most common usage of #
that every developer use it.
<a href="#">Contact us</a>
If you have any questions and suggestions or any problem let me know in the comments section below 👇 Make sure you share ↗️ and like my story❤👍.