In past years , i often puzzled in the question of path , but now , i will solve it
the easy question , it still exeit because i havn't do
as example: just so so
i show it by html code , use copy file order to solver it
The first case:
you have copyed file to current list execute order
cp file name newFileName
The second case:
you have copyed test from img to pathDemo , so the current list is img , and ../ is img parent’list pathDemo
Now are you understand ? is it so easy?
Last we use other demo to explain it :
result :
As you see , the imgPath is correct , the Mallhome.html in base Path =>案例详情界面 so ../ is 小庄界面布局
if you want to use relative path : you can write mallhome.png directly
and the absolute path is /home/ly..
the wrong is 小庄界面布局/ it isn't be relative path !
error:
right: