backwards compatible html5 for layout