including file in a html file

can i includ a file in a html file?? in other words
are there any html code can replace this asp syntax:
<!--#include file="header.inc"-->

Atef.
atefaAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
MasseyMConnect With a Mentor Commented:
You could always use the <OBJECT DATA=""></OBJECT> tag... Replace DATA= with your source file... However, you get it in a box...

Is there a reason you want to get away fom Server Side Includes?  
0
 
jbirkCommented:
<!--#include file="header.inc"--> is a server side include (SSI) as Matt said.
It is not ASP.
If your server allows it, SSI is the best route to go for including another file!
-josh
0
 
atefaAuthor Commented:
Even if the <Object> tag doesn't do exactly the same thing as this : <!--#include file="header.inc"-->, I thank you for confirming that my SSI command is the best way to include files ...

Atef

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.