What are different between links methods

50 views Asked by At

I am beginner in web designing. Please tell me what are differences between ../aa.css, ./aa.css and /aa.css links and their meaning in html.

is this effect to URL www.example.com/aa and www.example.com/aa/ deference

2

There are 2 answers

0
AudioBubble On

The ./ and ../ directories it's simple: . is current directory, .. is previous directory (parent directory) And / represent the root directory

For More understanding with folder/directory:

Starting with "/" returns to the root directory and starts there

Starting with "../" moves one directory backwards and starts there

Starting with "../../" moves two directories backwards and starts there (and so on...)

To move forward, just start with the first subdirectory and keep moving forward

Hope so it would be helpful !

0
Fatih Topcu On

You must use user friendly url for seo. In user friendly seo, you must use slash before assets such as img css links etc

You should use /aa.css versus others.