0
How I can connect 2 HTML code?
8 Antworten
+ 3
<a href="file.html">Another HTML file</a>
+ 3
@ Alberto Sambrotta please, send a code :-)
+ 3
Both HTML files should be in the same directory, or you must write full path of it...href must be written in lowercase
+ 2
<a href="file.html">Another HTML file</a> is for making a link I think he means that you can see it in the main document. for that you can use an iframe <iframe src="file.html"></iframe>
https://www.w3schools.com/TAGs/tag_iframe.asp
or you can use php
<?php
require 'file.html';
?> and give the main html (index.html) a .php extension instead of php
but if you dont know php I recommend the first tactic.
0
like what ?
can you post the code ?
0
I already used this method but it doesn't work
0
wait
0
<tr>
<td align="center"><i>
Madrid</i>
</td>
<td align="center">
<a HREF="PropostaMadrid.html">
Clicca Qui</a>
</td>
</tr>