Organization Flashcards
Use folders to organize site files Establish proper naming conventions Use absolute, relative and root-relative links
Describe Absolute Link:
<a>RGB Diagram</a>
Absolute link defines a specific location of the Web file or document including: the protocol to use to get the document, the server to get it from, the directory it is located in, and the name of the document itself.
Links on pages that contain absolute links will always refer to the same document even if those pages reside on different servers or in different folder locations.
Describe Relative Link:
<a>Main CSS</a>
A relative link defines a specific location of the Web file or document relative to the page containing the link.
For example, if a page at http://imm.sheridanc.on.ca/2014/wd/index.html has a link to http://imm.sheridanc.on.ca/2014/wd/css/main.css, the relative link equivalent is
./ refers to the _____ directory
../ refers to the ____ directory.
./../ refers to the
./ refers to the current directory
../ refers the parent directory.
The link to a parent’s parent folder is “../../” and so on.
Describe Root Relative:
<a>Main CSS</a>
A root-relative link defines a specific location of the Web file or document relative to the root folder of site.