Anchor tag Sentence Examples
The closing tag was marked with a backslash to let the browser know that the anchor tag was closed.
The words in between the tags will show up as a link in the web browser (usually a different color, boldface, or underlined) and clicking on it will bring your reader instantly to wherever the anchor tag with the name "TOC" is located.
Obviously, if there were more than one anchor tag with the name "TOC", it would get confusing.
If you want to know how do you create a hyperlink that goes to that new website, all you have to do is put in the entire URL, not just the anchor tag name.
Advertisement