So, the other day after playing with my HTML5 Template, and posting about it I got to thinking, what if someone doesnt want to have a navigation area, the <nav> tag wouldnt be needed.. same as if you didn’t need a sidebar, or any unrelated content, the <aside> section of my template would need removing.
That wasnt my goal at all when I made the template, I wanted something I could easily pick up and go, bam, I have the framework and now I can input my content.
That’s where SwitchToHTML5 sprung up from, a concept in my head for the last few days, now a reality, I’ve spent a long few hours getting my brain around what tags (elements) should be used in which way, and how they shouldnt be used, what is optional in HTML5, but used to be a requirement of XHTML/HTML4 – getting my head around most of the changes, I’ve read up on a few of the great HTML5 sites such as ‘HTML5Doctor’ and ‘Dive into HTML5′, as well as the official w3 documentation too, and then a few more hours have been put into coding the site; and the end result is something which works, is quite pleasing to the eye, and provides an ‘Instant Framework’ so you can effectively choose which elements you need, what options you want, and hit go, and “SwitchToHTML5″.
If you have a framework, all that is left is the content you need, and that’s not something which I can do for you :p. Right now the generator php file is coded and functional, I did have it in my head to attempt a converter php file, however that would be nigh on impossible due to the way that we’d have to get PHP to recognise which div should be made which corresponding HTML5 tag, I do know that it’s way out of my spectrum of knowledge anyway
Also something which I think would be possible for me to do would be a css php file, which generates CSS for your document, but again, it would rely heavily on user input, unlike the generator php for the main site.
You can find the site, in a very .. beta phase at SwitchToHTML5.com – any bugs and such are probably me tinkering with the script, and if they are layout problems, I consider them minor, but probably know about them.
Nice website concept Mikey, think it will pick up close to the HTML 5 adoption year, which is eleven years from now?
nah, even though the ‘official’ adoption is in 11years, I think that the site will be a tool which is used by people before then.
You fucking moron Richard Edmonds. Many people are using HTML5 tags already. They’re perfectly usable even in IE6 you incredible retard.
That’s the beauty of the HTML spec. Even if a user agent doesn’t recognise a DOM node or a CSS property, it’ll just skip over it and happily parse the rest of the document.
With a tiny tweak you can even style HTML5 tags in IE all the way back to version 6. It doesn’t need to “understand” them, if they’re well formed tags it’ll retain them in the DOM regardless.
Wake up you fucking moron. Go do some research before you open your ridiculous mouth.
Very interesting. I hadn’t read up on HTML5 before. So it supports more selectors now? That’s cool.
I think if the official adoption is in 11 years, that only means that HTML4 and lower will no longer be supported; not that it won’t be embraced until then.
~Dave