Surjith S M
Surjith S M

Reputation: 6740

How to Create Global Header for all pages in html(5)?

I have created an HTML page 'header.html'. Then I need to implement the same header on about, services, contact page.

I know that we can do it via PHP Include. But as an HTML Developer, Is there any way to use like this in HTML without using third party code, especially in HTML 5?

Also I came to know that Dreamweaver has an option to make templates file. But I don't know is it valid in Web 3.0 and W3c.

Please Help me.

Upvotes: 0

Views: 1950

Answers (1)

deceze
deceze

Reputation: 522081

You need either a server-side language like PHP or Server Side Includes, or you use something like Dreamweaver which will assemble HTML files for you from parts which you then upload to the server. You cannot do it browser-side using HTML only.

Upvotes: 2

Related Questions