container

How can I contain (or include) another HTML (or ASP) in a HTML ? Do I need to use JavaScript ?

Andrew
andrewyuAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

sthungCommented:
You can using server side include

for example if you want to include a.html in b.html, then add a sentence in b.html

<!--#include file="a.html" -->

It can also work in ASP.

Apart from the server side include, if you want to include a javascript file. for example if you want to include a class in c.js in b.html, add this sentence

<script type="text/javascript" language="Javascript" src="c.js">

If you have a common style steet d.css want to include in b.html. you can add this sentence

<Link Rel=Stylesheet href="d.css" type="text/css">

Wish it can help

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
andrewyuAuthor Commented:
Thank you very much !

Andrew
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
HTML

From novice to tech pro — start learning today.