Visitor
Reads - HTML Tutorials
What the heck is HTML, anyway? I don't understand an HTML document! How do I customize text (font, size, color, etc.)? How do I insert images? How do I insert links and anchors? How do I insert tables? How do I insert lists? How do I insert comments in my HTML document?How do I insert links and anchors?
A hyperlink, better known as a link, is some text or an image that leads you to a target (page, file, etc.) when clicked on. Links require URLs (Uniform Resource Locators), which are typically entered in the address bar (http://...). URLs could be Web pages (.HTM or .HTML), images (.JPG, .PNG, .GIF, etc.) or other files (.PDF, .ZIP, etc.).
To insert a text link, replace the URL by 'http://...' and 'Link' by the text of your choice in the code below:| _blank | Opens link in a new window. |
| _parent | Opens link in the parent frame of a frameset. |
| _self | Opens link in the same frame. |
| _top | Opens link in the same window, but out of the framset. |
| 'frame' | Opens link in specified frame. |
Anchors are used to have links bring you to a specific location on the same page. This is useful when you have multiple sections on the same page and want to be able to jump quickly to each section. The name attribute is used to create an anchor.
When you want to link to an anchor, use this code: