0

I want to link another html document with my initial one how could I. ?

Help pls

21st Feb 2021, 4:03 AM
Vɪя͢ʊ͋S͚ジ
Vɪя͢ʊ͋S͚ジ - avatar
9 Answers
+ 2
link as embed another html document inside actual html? <iframe src="url_of_html">
21st Feb 2021, 4:33 AM
visph
visph - avatar
+ 2
Bro it's showing forbidden file
21st Feb 2021, 5:16 AM
Vɪя͢ʊ͋S͚ジ
Vɪя͢ʊ͋S͚ジ - avatar
+ 1
link as you click the link and the other html document is loaded? <a href="url_of_html">view my html</a>
21st Feb 2021, 4:29 AM
visph
visph - avatar
+ 1
Vɪя͢ʊ͋S͚ジ, so a problem is with the page you are linking to. Or did you not replace url_of_html with your link?
21st Feb 2021, 5:53 AM
#0009e7 [get]
#0009e7 [get] - avatar
+ 1
get its a html created offline webpage not an online site I found no error in it
21st Feb 2021, 6:00 AM
Vɪя͢ʊ͋S͚ジ
Vɪя͢ʊ͋S͚ジ - avatar
+ 1
what is showing "forbidden file"? <a> or <iframe>? what did you write exactly as url? are both html file on same server or on different domain name?
21st Feb 2021, 8:36 AM
visph
visph - avatar
+ 1
visph let me explain you I have a html document saved in my device and I want to add it in my sololearn project how can I add it
21st Feb 2021, 8:50 AM
Vɪя͢ʊ͋S͚ジ
Vɪя͢ʊ͋S͚ジ - avatar
+ 1
you cannot... you need to upload your html file somewhere on the web, and use its (absolute) url ^^ however, iframe requires allowing CORS for targeted/embeded document ;P
21st Feb 2021, 8:54 AM
visph
visph - avatar
+ 1
visph thanks bro
21st Feb 2021, 10:43 AM
Vɪя͢ʊ͋S͚ジ
Vɪя͢ʊ͋S͚ジ - avatar