Reputation: 6740
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
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