Solved

including file in a html file

Posted on 1998-08-24
3
130 Views
Last Modified: 2013-11-18
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.
0
Comment
Question by:atefa
3 Comments
 
LVL 10

Accepted Solution

by:
MasseyM earned 50 total points
Comment Utility
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
 
LVL 8

Expert Comment

by:jbirk
Comment Utility
<!--#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
 

Author Comment

by:atefa
Comment Utility
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

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

Preface This is the third article about the EE Collaborative Login Project. A Better Website Login System (http://www.experts-exchange.com/A_2902.html) introduces the Login System and shows how to implement a login page. The EE Collaborative Logi…
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now