Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End HTML includes

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #46442
    sadunaresh
    Participant

    Hi,

    I actually started building my first site from scratch..

    how can one include one html inside other…? suppose I have header common for a page.. I want to make header.html and just include this on every other page…

    #143060
    TheDoc
    Member
    #143070
    gowda24
    Participant

    Follow template structure, So u can add the header and footer in the template and include the template in other html pages.

    #143081
    sadunaresh
    Participant

    @TheDoc… I am not using any server.. I just have a folder with bunch of htmls and css…

    #143082
    sadunaresh
    Participant

    @gowda24… I have templates header.html and footer.html also home.html….

    I also included following in home.html


    //where i need header to be included
    // where footer need to be included

    also have .htaccess file in my folder structure…

    #143083
    sadunaresh
    Participant

    sorry here is the code i am using to include the files


Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘Back End’ is closed to new topics and replies.