Organization Flashcards

Use folders to organize site files Establish proper naming conventions Use absolute, relative and root-relative links

1
Q

Describe Absolute Link:

<a>RGB Diagram</a>

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Describe Relative Link:

<a>Main CSS</a>

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

./ refers to the _____ directory

../ refers to the ____ directory.

./../ refers to the

A

./ refers to the current directory

../ refers the parent directory.

The link to a parent’s parent folder is “../../” and so on.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Describe Root Relative:

<a>Main CSS</a>

A

A root-relative link defines a specific location of the Web file or document relative to the root folder of site.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly