Include html file in html using html5 -



Include html file in html using html5 -

this question has reply here:

html5 include file 8 answers

i have 2 html files, suppose a.html , b.html. in a.html want include b.html.

in jsf can that:

<ui:include src="b.xhtml" />

it means within a.xhtml file, can include b.xhtml.

how can in *.html file?

using html 5 (if can done @ in html 5).

surprisingly, same question asked , possible: html5 include file

rafa's answer:

use object tag:

<object name="foo" type="text/html" data="foo.inc"/>

foo.inc should include valid html.

i tested on konqueror, firefox , chromium.

if find useful (i do), please upvote rafa reply (not mine) because "it not possible" spreading disease.

html html5

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -