I recently released a small package called “PlusHTML” to explore a little twist on the HTML page structure paradigm.
<head> <body> <foot> structure ?
I love how HTML evolves toward incorporation of web common practices. With HTML5 we’ve been provided with the wonderful
<footer> tags, which make more sense document-wise and layout-wise. Following this spirit, I wanted to extend the idea by implementing a
<foot> tag that mirrors the
<head> and implements a common use case on the web which is to import some assets only at the end of the document.
The newly placed
<footer> print as if in the body but are in the right logical section of the document. The last plushtml twist being that I capitalized on the
<title> tag making it both a meta and a printed heading information, that you can place as a child of the
I think plushtml is a fun module which allows you to write a nice and readable HTML document root structure, that matches the common web practices of the day.