Geeks With Blogs

Steve Albers March 2012 Entries
Using HTML5 Today part 5– using video today
HTML5 supports a standard, native <video> tag which is already well supported in browsers and has great backwards-compatibility options. Before you spend too much time on the HTML5 video element, you should spend some time getting comfortable with video codecs and debate going on regarding video codec support between the different browsers. Dive Into HTML5 has a great introduction to the topic, and these Information Week and Register articles can help catch you up on the current state of video ......

Posted On Tuesday, March 27, 2012 9:42 PM

For Modernizr, Don’t Stop with NuGet
The ASP.NET MVC template drops a copy of Modernizr 1.7 in your project automatically, and if you check for NuGet updates the library is brought up to the current version - 2.5.3. The NuGet package is a a great way to introduce developers to Modernizr and makes checks for updates easy. But when adding Modernizr to your projects consider two alternatives: Alternative One – Content Delivery Network: Microsoft CDN currently hosts two Modernizr versions – 1.7 and 2.0.6. By using a CDN copy you increase ......

Posted On Sunday, March 25, 2012 1:36 AM

Using HTML5 Today part 4–What happened to XHTML?
This is the fourth entry in a series of descriptions & demos from the “Using HTML5 Today” user group presentation. For practical purposes, the original XHTML standard is a historical footnote, although XHTML transitional will probably live on forever in the default web page templates of old web page editors. The original XHTML spec was released in 2000, on the heels of the HTML 4.01 spec. The plan was to move web development away from HTML to the more formal, rigorous approach that XHTML offered, ......

Posted On Tuesday, March 20, 2012 11:39 PM

Using HTML5 Today part 3– Using Polyfills
Shims help when adding semantic tags to older IE browsers, but there is a huge range of other new HTML5 features that having varying support on browsers. Polyfills are the tool to work with many of these new features. Polyfills are JavaScript code and/or browser plug-ins that can provide older or less featured browsers with API support for recent browser advances. The best polyfills will detect the whether the current browser has native support for a given feature, and only adds the functionality ......

Posted On Tuesday, March 20, 2012 2:33 AM

Fix a jQuery/HTML5 dynamic content issue by upgrading jQuery
The default NuGet template for MVC3 pushes down jQuery 1.5.1. You can upgrade to a new version (1.7.1 is current when this was written) to avoid a problem with the creation of “unknown” HTML5 tags in IE6-8: Take this sample HTML page using HTML5Shiv to provide support for new HTML5 tags in IE6 – IE8. The page has a number of <article> tags that are backwards compatible in Internet Explorer 6-8 thanks to the HTML5Shiv. After the article elements there is a jQuery 1.5.1 script tag, and a ready() ......

Posted On Saturday, March 17, 2012 12:52 AM

Using HTML5 Today part 2–Fixing Semantic tags with a Shiv
Semantic elements and the Shiv! This is the second entry in the series of demos from the “Using HTML5 Today” talk. For the definitive discussion on unknown elements and the HTML5 Shiv check out Mark Pilgrim’s Dive Into HTML5 online book at Semantic tags increase the meaning and maintainability of your markup, help make your page more computer-readable, and can even provide opportunities for libraries that are written to automagically enhance ......

Posted On Friday, March 16, 2012 1:26 AM

Using HTML5 Today part 1–Simplify your syntax
Simplify your HTML Syntax This is the first in the series of demos from the “Using HTML5 Today” talk. One of the great features HTML5 offers is the chance to minimize some of the longer tags in your template, reducing the size of the document and increasing readability and maintainability. Below we cover a few of the easy, cross-browser, backwards-compatible changes. Why are these changes backwards compatible? Because we, the authors of the content on the Internet, are pretty bad at writing proper ......

Posted On Tuesday, March 13, 2012 9:14 PM

HTML5–Challenges and Opportunities
The new HTML standard is part of a proliferation of challenges and opportunities that developers face today: Browser Wars v2.0 Going back 10 years ago, Internet Explorer could claim 95% of the browser market ( Today you have to include IE, Firefox, Chrome and Safari to get past the 95% support mark (http://marketshare.hitslin... And this only includes desktop browsers! Safari, the Android browser and Opera all have strong market shares in the mobile/tablet ......

Posted On Monday, March 12, 2012 2:46 AM

Copyright © Steve Albers | Powered by: