hyperlink - HTML links not working -


i created first website uploading first 2 pages including first , main page , second page first page links to. before doing so, link when clicked on, takes me correctly main page second page worked. after uploading on 000webhost.com no longer worked. meaning, can view main page when click on link should take me second page, doesn't anything. here code , still included in main page link should take me second page. have feeling has protocol , have make changes not sure changes correctly make link work. used sub domain @ 000webhost.com not own. here code , on main page:

<li><a href="file:///c:\users\brian\desktop\noah\noahsfirstday.html">noah's first day</a></li> 

the link points file on computer (note file:// prefix). best practice have links own pages in relative form. so, example, assuming uploaded files same directory, use filename itself:

<li><a href="noahsfirstday.html">noah's first day</a></li> 

Comments

Popular posts from this blog

PHP DOM loadHTML() method unusual warning -

python - How to create jsonb index using GIN on SQLAlchemy? -

c# - TransactionScope not rolling back although no complete() is called -