04 Links
Links to other Websites
Internal Links
Here is the Directory Higherarchey.
- Same Folder: All files in Directory A.
- Parent:Directory A is the parent of Directory B.
- Child: Directory B is the Child of Directory A.
- Grand Parent: Directory A is the Grand Parent of Directory C.
- Grand Child: Directory C is the Grand Child of Directory A.
Here is how to create links in the differnt higherarchies.
- Same Folder: No alterations. Just link to page. (a href="page01.html")
- Child folder: Child DIretory name/ page name. (a href="directoryb/page01.html)
- Grand Child Folder: Child Directory/Grand Child Directory/ Page name. (a href="directoryb/directoryc/page01.html)
- Parent Directory: ../ followed by page name. (a href="../page01.html")
- Grand Parent Directory: Repeat parent proceedure. (a href="../../page01.html")
Email Links
(a href="mailto:web@understoryproductions.com")Email(/a)
Email
Open Link In New Window
(a href="../portlingrad.com" target="_blank")Portlingrad(/a)
Portlingrad
Anchor Links
Anchor Links Connect to parts of the same page. They consist of two parts.
The Anchor: This is the part you are linking to. (h1 id="top")04 Links(/h1)
The Link: The word, phrase or button designated to link to the anchor. (a href="#top")
Back
Anchors Links On Other Pages
To link to an anchor on another page, link as usual to the page, then link to a defined attribute.
(a href="02text.html/#attribute") This attribute must already be defined.