Dummy links plays a good role in websites .
- It restricting redirecting.
Generally links can be created using anchor tags <a>
- It uses href attribute for giving link source.
- Example: <a href="www.google.com"> .It will brings you to next page.
It is restricteg using href="#", It won't brings you any page😁
Code:
<!DOCTYPE html>
<html>
<head>
<title>dummylink</title>
</head>
<body>
<a href="#">click</a><br>
<a href="#">Home page</a><br>
<a href="#">Facebook</a><br>
<a href="https://www.google.com/">google</a>
</body>
</html>
Output:
Click here click
Click here Home page
Click here Facebook
Click here google this link only redirect you to google.com and other links are dummy.
Post a Comment