How to Embed a Tag with No URL
The HTML anchor tag lets you embed a tag that does not require a URL in the link. You can specify only a Web page within your website for the anchor tag's link to work. An anchor tag lets users navigate through your website. When the user clicks the anchor tag, the browser opens the specified file.
Instructions
-
-
1
Right-click the HTML file you want to edit and select "Open With." Click your HTML editor to open the HTML code.
-
2
Add the anchor tag. The following code is the basic syntax for the anchor tag that does not contain a full URL for the link:
<a href="mypage.php"> </a>
-
-
3
Add the text for the user to click. The following code makes the words "click here" active for the link:
<a href="mypage.php">Click Here </a>
-
4
Save the file, and open the file in a Web browser. Click on the link to test the code.
-
1