In my last post on the semantic web I was not too impressed with the semantic part of HTML5. I have got over my initial disappointment and have now embraced the few tags that we have got and have been experimenting with ways to get the most from them and to reduce code and extra [...]
Archive for the ‘HTML5’ Category
Using the ‘Semantic Web’
Posted in HTML5, tagged html5 on October 13, 2011 | Leave a Comment »
Best practices for writing HTML forms
Posted in Design Patterns, HTML5, tagged best practices, css, forms, html5, tables on October 11, 2011 | Leave a Comment »
Over the years I have changed the style of my HTML coding considerably. Back in the day (pre 2000) every one including me coded everything using tables. Tables rocked and made it quickly possible to layout pages. Pages were mostly cut up images straight from Photoshop. It was the web developer’s job to create a [...]
HTML5 – the Semantic Web or Not
Posted in HTML5, tagged html5, semantics on October 7, 2011 | Leave a Comment »
I thought I’d write this post to address either my huge lack of my understanding or a huge shortfall that I see in HTML5. When I first heard about HTML5 being the new semantic web and the end of Divitis, I thought we would see an XML type extensibility that would allow us to create [...]
HTML5 with JS include where all the content disappears
Posted in HTML5, Problems and Solutions, tagged browsers, html5, javascript, mime types, xhtml on October 6, 2011 | Leave a Comment »
I little gotcha which kept me entertained for hours was a difference in the way browsers handle close tags in HTML5. If, like me, you like to close all your tags and you add a JavaScript include into the head of the document, you may well close the tag like this: <script src=”/Scripts/modernizrOverrides.js” type=”text/javascript”/> When [...]
Moving forwards from HTML5 js from Remy Sharp: Modernizr
Posted in HTML5, tagged browsers, html5, javascript, Modernizr, remi sharp on October 5, 2011 | 1 Comment »
In my previous blog post on how to make the IE browser worth with HTML5 I detailed using Remi Sharp’s very concise js file. Whilst this is still a great file (Thank you Remi!). I have now moved my latest project to use Modernizr. The features of Modernizr include: It tests for over 40 next-generation [...]
Making HTML5 elements work in Internet Exploder
Posted in HTML5, tagged client code, html5, internet explorer, javascript on October 4, 2011 | Leave a Comment »
As HTML5 is not recognised in pre IE9 browsers, you need to add the tags to the document. This can be done with the code <!–[if lt IE 9]> <script type=”text/javascript” /> Document.createElement(“nav”); Etc… </script> <![endif]–> You could do this for every new HTML5 tag. However, luckily Remy Sharp has done this for us [...]