filmov
tv
✅ HTML File Paths Tutorials | Master Relative File Paths and Absolute File Paths

Показать описание
✅ This HTML file paths tutorials will teach you the required techniques and skills to correctly specify the relative file paths and absolute file paths.
💡 What is the relative file path? A relative file path means, the file path starts from the location of the file we are linking from and points to another file in the same folder or another folder. And the location of the pointed file is always relative to the location of the file we are linking from.
💡 Key things to remember when you specify the Relative File Path:
👉 ./ this means current folder, you can use this to specify the relative file path when the file we want to link to is in the same folder as the file we want to link from
👉 ./child/ this means go to the child folder from the current folder, you can use this to specify the relative file path when the file we want to link to is in the child folder of the current folder.
👉 ../ this means to go one level up from the current folder, you can use this to specify the relative file path when the file we want to link to is in the one level up parent folder of the current folder.
👉 ../../ this means go two levels up from the current folder, you can use this to specify the relative file path when the file we want to link to is in the two levels up parent folder of the current folder.
💡 What is the absolute file path? An absolute file path means, the file path always starts from the root element OR root folder and includes all the folder list, to locate the file.
💡 Key things to remember about Absolute File Path:
👉 Don't use the Absolute File Path, which starts from your computer's root folder like this: Because It only works on your own computer.
👉 You can of course feel free to use the Full URL Link to an external file from other web pages like this, but, make sure it is accessible.
😊 If you want to learn more about different HTML section headings H1, H2 which we used in this lecture's coding example, here is the link for that:
😊 If you want to learn more about the HR tag we used in this lecture's coding example, here is the link for that:
😊 Here is the link for the HTML project for this picture:
😊Here is the link for how to find the absolute file path on mac:
😊Here is the link for how to find the absolute file path on Linux:
💡 What is the relative file path? A relative file path means, the file path starts from the location of the file we are linking from and points to another file in the same folder or another folder. And the location of the pointed file is always relative to the location of the file we are linking from.
💡 Key things to remember when you specify the Relative File Path:
👉 ./ this means current folder, you can use this to specify the relative file path when the file we want to link to is in the same folder as the file we want to link from
👉 ./child/ this means go to the child folder from the current folder, you can use this to specify the relative file path when the file we want to link to is in the child folder of the current folder.
👉 ../ this means to go one level up from the current folder, you can use this to specify the relative file path when the file we want to link to is in the one level up parent folder of the current folder.
👉 ../../ this means go two levels up from the current folder, you can use this to specify the relative file path when the file we want to link to is in the two levels up parent folder of the current folder.
💡 What is the absolute file path? An absolute file path means, the file path always starts from the root element OR root folder and includes all the folder list, to locate the file.
💡 Key things to remember about Absolute File Path:
👉 Don't use the Absolute File Path, which starts from your computer's root folder like this: Because It only works on your own computer.
👉 You can of course feel free to use the Full URL Link to an external file from other web pages like this, but, make sure it is accessible.
😊 If you want to learn more about different HTML section headings H1, H2 which we used in this lecture's coding example, here is the link for that:
😊 If you want to learn more about the HR tag we used in this lecture's coding example, here is the link for that:
😊 Here is the link for the HTML project for this picture:
😊Here is the link for how to find the absolute file path on mac:
😊Here is the link for how to find the absolute file path on Linux:
Комментарии