Skip to content

Releases: kittender/plushtml

Write HTML with a little plus

17 Jun 12:47
2a21902
Compare
Choose a tag to compare

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.

pexels-photo-209620

In a near future...

I plan on developing a standard facultative CSS asset to import for your plushtml projects and instantly get a sticky footer. Because, come on, footers that stay at the bottom of screens when body content does not fill the screen height, is now a web standard.

A non-implemented yet standard.

Hence, plushtml.

#kittenderly

__.⌒---⌒.
= ↀㅅↀ=
_______/