[IDEA] HTML next, 6, 7, What ever

Hey HTML wizards,

I had an idea for the next HTML version and I found this address.. Not sure
if it is the right one, but I figured I would give it a try.

Smart HTML

There are a lot of simple tasks that PHP and JQuery/Javascript do on a
regular bases, but why? These are such simple things that there is no
reason for a Server OR JS to do them. For instance: The template tag
<template> is used for Javascript to replicate bits of code. Why cant the
browser do that with out JS? its a rather simple request. How about using
like this:

<head>
<template id='something1'>HTML STUFF HERE<insert/>MORE HTML</template>
</head>

<body>
<something1>put this in the template</something1>
</body>

This would take a lot off the backs of PHP and JS. You could also have
multiple inserts and it would just use a delimited list between the tags.
To prevent error it will only insert per insert tag so if you have more
items in your delimited list it will just stop when it reaches the last
insert tag.

Here is another one INCLUDES! We use php and JS to include bits of code
from other files all the time. Why cant the Browser go out and grab the
additional html code and plop it in?

Example:

<include src='menu.html' />

Why resort in 2014 to other languages for such a simple task?

Thanks for reading, I hope I was not a bother,
-Bill

Received on Wednesday, 11 June 2014 08:29:27 UTC