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 
:: input tag with data list 
Html ::  
Html :: change icon html 
Html :: how to make a text box required in html 
Html :: aos library 
::  
Html :: add a gif a background image in html 
Html :: ion-select placeholder 
Html :: html multiplications 
Html :: align table in middle of page 
ADD CONTENT
Topic
Content
Source link
Name
5+3 =