html question to be answered

liunx

Guest
does someone know how to "include" an html file within html file without using php or asp? E.g. rather than creating separate toolbar for each page, just create one and save it as a separate file, then include it in pages.<!--content-->You'll need some sort of server-side language to do it properly. Other than PHP/ASP you could use SSI (<!-- m --><a class="postlink" href="http://hoohoo.ncsa.uiuc.edu/docs/tutorials/includes.html">http://hoohoo.ncsa.uiuc.edu/docs/tutori ... ludes.html</a><!-- m -->), but I guess that is probably not an option either.<br />
<br />
It is possible using Javascript, but a very bad idea because it makes your page inaccessible to around 13% of web users.<br />
<br />
In which case, you simply have to repeat the code on each page, or depending on the application you might be able to use an <iframe> (<!-- m --><a class="postlink" href="http://www.w3.org/TR/html401/present/frames.html#edef-IFRAME">http://www.w3.org/TR/html401/present/fr ... def-IFRAME</a><!-- m -->).<br />
<br />
Adam<!--content-->
 
Back
Top