Absolute and Relative Paths
Absolute paths are links that contain the complete address to get to a Web page. Absolute paths are the best way to link to a Web site. The syntax of an absolute path is as follows:
Syntax:
To link to the files present in the subfolder, you need to provide the path to the subfolder. For example, if the fie about us_aboutaptechworldwide.html is in a subfolder
named about-us then the syntax is as follows:
Syntax:
Files that are present in folders that are one level up can also be linked using a relative
path. The syntax to link to a fie one level up is as follows:
Syntax:
No comments: