#1
  1. Contributing User
    ASP Hero (2000 - 2499 posts)

    Join Date
    Nov 2003
    Location
    UK
    Posts
    2,280
    Rep Power
    314

    Question <include file> ?


    i've been using asp and using include files but how can i do this in html?
  2. #2
  3. No Profile Picture
    Contributing User
    ASP Explorer (0 - 99 posts)

    Join Date
    Jul 2004
    Location
    Sydney, Australia
    Posts
    44
    Rep Power
    14
    have you tried the <link> tag?

    im not sure if this is what you're after, but it might be.

    check it out at http://www.w3schools.com/tags/tag_link.asp
  4. #3
  5. The Laughing Moderator
    ASP Scholar (3000 - 3499 posts)

    Join Date
    Apr 2004
    Location
    Sydney, Australia
    Posts
    3,268
    Rep Power
    44
    There's no real easy way to include one html file in another. If your server is set up for SSI you can use that, otherwise you can run a javascript function to write the included file. Other options are to use Inline frames and normal frames. Not much of an option though.
  6. #4
  7. Moderator From Beyond
    ASP Mastermind (5000+ posts)

    Join Date
    Sep 2004
    Location
    Israel
    Posts
    31,135
    Rep Power
    2925
    1. you can use <IFrame> tag
    2. you can "include" javascript code: <script src="yourcode.js" />
    3. you can "include" server side code: <script src="page.asp" />

IMN logo majestic logo threadwatch logo seochat tools logo