Basic Web Chapter 2
Basic Web Chapter 2
Create
Links And
Design A
Webpage
<a
href="http://www.w3schools.com">This
is a link</a>
attribute
Formatting
A linear structure
An augmented
linear structure
If you want to go one level up the folder tree, you start the
relative path with a double period (..), a forward slash, and
then provide the name of the file
To specify a different folder on the same level, known as a
sibling folder, you move up the folder tree using the
double period (..) and then down the tree using the name of
the sibling folder
You should almost always use relative paths in your links
On occasion, you may see the URL for a file stored locally on
your computer or local area network
If you are accessing a file from your own computer, the
server name might be omitted and replaced by an extra
slash (/)
The file scheme here does not imply any particular
communication protocol; instead the browser retrieves the
document using whatever method is the local standard for
the type of file specified in the URL