The missing HTML verb has been found


So what's the deal with HTML not having an "include" feature? Countless solutions have arisen to solve this problem, but few are as straightforward as BLUEPHRASE.

How many times have you written a web page to fulfill a particular need, where large parts of it were already written to some other source file? This is such a common task that there really should be some standard way, with only HTML, to pull source files together. But alas, there isn't.

BLUEPHRASE provides this feature with its include pragma. The notation is simple: just type the path and name of the source file, and surround it with grave accents ` ... `

Here's what it might look like in action:

h1 Minifigures
!include `./menu/`

h1 Today's Deals
!include `./menu/`
nav {
a `` Harry Potter
a `` Batman
a `` Simpsons
a `` Lord of the Rings
a `` Marvel
a `` Teenage Mutant Ninja Turtles
a `` Scooby Doo
a `` Pirates of the Caribbean
a `` Jurassic Park
a `` Dr. Who
a `` Star Wars
nav {
a `` Ninjajo
a `` Party
a `` Monsters

And here's the HTML result:

<meta charset=UTF-8 />
<a href=''>Harry Potter</a>
<a href=''>Batman</a>
<a href=''>Simpsons</a>
<a href=''>Lord of the Rings</a>
<a href=''>Marvel</a>
<a href=''>Teenage Mutant Ninja Turtles</a>
<a href=''>Scooby Doo</a>
<a href=''>Pirates of the Caribbean</a>
<a href=''>Jurassic Park</a>
<a href=''>Dr. Who</a>
<a href=''>Star Wars</a>
<h1>Today's Deals</h1>
<a href=''>Ninjajo</a>
<a href=''>Party</a>
<a href=''>Monsters</a>



The missing HTML verb has been found

🔗 🔎