Henry Lyne (henrylyne) wrote,
Henry Lyne

HTML Includes

At lunch the other day I was talking about how HTML/XHTML doesn't support includes. And by includes I mean you can't use a tag to drop in a chunk of HTML from a source URI. IFrames and other tags don't drop the HTML inline in the page.

Looking on the http://www.w3.org/ site I found the XHTML 2.0 spec for Embedding. It looks like this could be used in place of Server-Side Includes for inserting HTML.

I think this will mostly be useful when someone is trying to edit a site without a web server to help them view the page. Currently all methods of using includes requires a server to parse in the includes.
  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic