Search
 
SCRIPT & CODE EXAMPLE
 

HTML

how to set a link to a file that is not in the same folder html

Within the same folder, just use the file name:

<a href="theFile.html">my link</a>

Within the parent folder's directory:
<a href="../theFile.html">my link</a>

Within a sub-directory:
<a href="theSubDirectory/thefile.html">my link</a>
Comment

PREVIOUS NEXT
Code Example
Html :: email template code 
Html :: html telephone 
Html :: css setting table column width 
Html :: html how to add an image 
Html :: bootstrap text color 
Html :: json-ld for portfolio site 
Html :: html load page at certain point 
Html :: magento 2 call phtml file in cms page 
Html :: json placeholder 
Html :: changeable href 
Html :: [(ngModel)] in a select 
Html :: tailwind custom inline shadow 
Html :: how to disable input form when select change 
Html :: underline hover mouse 
Html :: bootstrap 5 cdn js link 
Html :: html submit button text 
Html :: tailwind hover color 
Html :: c# get url html 
Html :: bootsrp 
Html :: laravel blade @checked 
Html :: input tag with data list 
Html :: swiper js arrows 
Html :: bootstrap row overflow 
Html :: html import script 
Html :: svg xlink 
Html :: bootstrap grids examples 
Html :: how to use figure and caption in html 
Html :: html bookmark spot 
Html :: browser favicon html 
Html :: fa fa users-class 
ADD CONTENT
Topic
Content
Source link
Name
2+7 =