I recently released a small package called “PlusHTML” to explore a little twist on the HTML page structure paradigm.

Why a <head> <body> <foot> structure ?

I love how HTML evolves toward incorporation of web common practices. With HTML5 we’ve been provided with the wonderful <header> and <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 <header> and <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 <header> tag.

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.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s