Jump to content

How link button & header page with index page in HTML

Recommended Posts

Dear Experts, i have crated my personal page, whenever i need to change in header, buttons and etc, where i will change in each page, now i would like to separate button page, header & footer page, so friends how i can link these pages to my index and other pages.

Link to post
Share on other sites

You'll need a server-side language like PHP to include the header and buttons files into each page.

Is it not possible in HTML?? actually i have better know in HTML than PHP. if it is possible to make every page separate then joint it. I mean button page, header, footer, ad etc....... I will be thankful for your kind reply.

Link to post
Share on other sites

If your only purpose is to implement a "header"-file in multiple pages, I would suggest you to read:


  1. http://www.php.net/manual/en/language.basic-syntax.phptags.php
  2. http://il1.php.net/manual/en/function.include.php

All you need to know:

  • your server have to support PHP!
  • In each page you choose to use php-script, you have to save the file as ".php"

All you need to do:

open php-script tag, add the include statement, close your php-script tag.

3 lined of simple code and you're done.


No need to cover all the php documentation, for just "including" a single file in few pages.

Edited by Yolo
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...