PROGRAMMING COURSES ADMIN VIDEO TUTORIALS COMMUNITY RESOURCES |
Link to pages that live in the same
directory (folder) with your "index.html" file
(assuming that you have created a file named contact_us.html and have placed it in the same folder as the main file with the link on it) Example: Contact Us
Link to pages that live in a separate folder inside of your main project folder Example: Contact Us
Example: Link to file in parent folder
Example: www.developphp.com
Image Links ( you can link to the image itself, a web page, or a website )
Custom Image Link
Example : developer@developphp.com
Mail To Link with pre-filled content Example : Join Mailing List
Named Anchor Let's say you have a long scrolling web page with different sections to read and you would like to be able to get a reader to an exact point in the web page. First set your anchor point inside the document at the point you want to jump to:
Then set up the link to it from the same or a different web page:
Example: Go to the start of the text on this page The Link "Target" Attribute Now that we know most of the ways to create a link, let's look at the link tag's Target attribute. This is how the link behaves once clicked. _self Link will open
in the same browser window _blank Link will open in a new window <a href="http://www.developphp.com" target="_blank">My Link</a> _parent Link will replace the frameset parent <a href="http://www.developphp.com" target="_parent">My Link</a> _top Link will open in the entire unframed window <a href="http://www.developphp.com"
target="_top">My Link</a>
|
|||||||||||||||||||||||||||||||||
|
|
DevelopPHP Requires Flash Player
___________________________________________
|
||||||||