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: [email protected] 
  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:
    [EMAIL PROTECTED]
      
    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 Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to