I have been using ASP + Access for websites for a long time, but yesterday someone told me to use HTML for a website. Because I had to use a lot of header files and bottom files, I didn't want to use templates, I thought of calling a header file, but it is not displayed in any way. I think I have some errors. I checked them carefully. <! -- # Include file = "Top. asp"> that's right. I changed another one. <! -- # Include file = ".. /top. ASP "> I still cannot. It should not be the case. I tested an ASP Applet and displayed it normally. This made me very strange, I wonder if the problem is caused by HTML.
So I think again, this may be the problem. I used another method to call it using IFRAME. <IFRAME name = "content_frame"
Width = 80% Height = 35 src = "top.html"> </iframe> I think this is okay. Fortunately, it can be displayed normally. No problem. I have always been confused about html, this can be a good supplement to the knowledge of HTML, of course there are some methods, as follows:
1. object method <object style = "border: 0px" type = "text/X-scriptlet" Data = "top.html" width = 80% Height = 35> </Object> 2. the behavior method can be used to replace the include files in ASP. If you can directly call the include files in HTML, it is really good. There is also a good alternative method. At least it can save a lot of work.