freelanceprogrammers.org Forum Index » ASP
Re: How to include one html file into other other html file
Joined: 27 Dec 2004
Posts: 3
Re: How to include one html file into other other html file
you can remove the <html></html><head></head>and <body></body> tags from
footer.html
rename footer to footer.inc
You must rename Main.html to Main.asp or .aspx in that the IIS understand to
parse the file properly. At the location in Main.asp where you want to have the
contents of footer.inc appear type the following:
<!--#include file="footer.inc"-->
or.... you can simply make the contents of footer.html a user control in .NET
using the appropriate file extensions and insert it in its appropriate location
in you main.aspx
Joe
----- Original Message -----
From: Binod
To: AspNetAnyQuestionIsOk@yahoogroups.com
Sent: Tuesday, January 04, 2005 4:02 AM
Subject: [AspNetAnyQuestionIsOk] How to include one html file into other other
html file
Hi List,
I want to include a html file "FOOTER.HTML" in the main html file
"MAIN.HTML".
Both these files are lying in the same directory.
Can any body suggest me how to do that ?
Thanks
Binod
[Non-text portions of this message have been removed]
------------------------------------------------------------------------------
Yahoo! Groups Links
a.. To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
b.. To unsubscribe from this group, send an email to:
AspNetAnyQuestionIsOk-unsubscribe@yahoogroups.com
c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[Non-text portions of this message have been removed]
Joined: 04 Jan 2005
Posts: 2
Re: How to include one html file into other other html file
Thanks, It`s working now.
Binod
-----Original Message-----
From: Joseph C. Antonaccio [mailto:joe.antonaccio@...]
Sent: Tuesday, January 04, 2005 10:05 PM
To: AspNetAnyQuestionIsOk@yahoogroups.com
Subject: Re: [AspNetAnyQuestionIsOk] How to include one html file into
other other html file
you can remove the <html></html><head></head>and <body></body> tags from
footer.html
rename footer to footer.inc
You must rename Main.html to Main.asp or .aspx in that the IIS understand
to parse the file properly. At the location in Main.asp where you want to
have the contents of footer.inc appear type the following:
<!--#include file="footer.inc"-->
or.... you can simply make the contents of footer.html a user control in
.NET using the appropriate file extensions and insert it in its appropriate
location in you main.aspx
Joe
----- Original Message -----
From: Binod
To: AspNetAnyQuestionIsOk@yahoogroups.com
Sent: Tuesday, January 04, 2005 4:02 AM
Subject: [AspNetAnyQuestionIsOk] How to include one html file into other
other html file
Hi List,
I want to include a html file "FOOTER.HTML" in the main html file
"MAIN.HTML".
Both these files are lying in the same directory.
Can any body suggest me how to do that ?
Thanks
Binod
[Non-text portions of this message have been removed]
--------------------------------------------------------------------------
----
Yahoo! Groups Links
a.. To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
b.. To unsubscribe from this group, send an email to:
AspNetAnyQuestionIsOk-unsubscribe@yahoogroups.com
c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service.
[Non-text portions of this message have been removed]
Yahoo! Groups Sponsor
ADVERTISEMENT
----------------------------------------------------------------------------
--
Yahoo! Groups Links
a.. To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
b.. To unsubscribe from this group, send an email to:
AspNetAnyQuestionIsOk-unsubscribe@yahoogroups.com
c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[Non-text portions of this message have been removed]
All times are GMT
Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Freelace Website Designer - Customer web design and software building.
China Wholesale - Electronics Products
Character Studio - Tutorials and Help
China Wholesale - Electronics Products
Character Studio - Tutorials and Help







