TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Paul Irish on HTML5 Boilerplate

87 pointsby ahmicroover 14 years ago

4 comments

poover 14 years ago
I've used Paul Irish's boilerplate and I can attest that even if you decide not to adopt it outright, you can learn a lot just by reading through it.<p>HTML5 is one of those ever-changing technologies where what was once considered common-practice is now considered deprecated. I think this is often the case with a fast-moving, widely distributed technology. Paul does a great job of collecting a lot of wisdom and maintains it in an easy to understand format. It also does backwards compatibility right. Helped me out a lot.<p><i>Edit:</i> Also he's a really nice guy. :-)
评论 #2206151 未加载
pshapiroover 14 years ago
Some notes from his talk:<p>* &#60;!doctype html&#62;<p>* The web server can serve certain meta tags (e.g. in .htaccess for apache) which would not have validated. (e.g. X-UA-Compatible to specify content)<p>* &#60;meta charset="utf-8" /&#62; is acceptible in most browswers<p>* // instead of <a href="http://" rel="nofollow">http://</a> makes a relative URL, works in most if not all browsers<p>* html { overflow-y: scroll; } fixes contents moving due to scrollbar appearance on longer pages<p>* DD_belatedPNG - better IE PNG fix <a href="http://www.dillerdesign.com/experiment/DD_belatedPNG/" rel="nofollow">http://www.dillerdesign.com/experiment/DD_belatedPNG/</a><p>* Often a good idea to use font-family "sans-serif" instead of "Helvetica, Arial, sans-serif" for better cross-platform sans-serif font choice
评论 #2207996 未加载
wizard_2over 14 years ago
I love the idea of being able to do a git merge html5-bilerplate html5bp-test-upgrade into one my projects and pickup the latest best practices to review. In practice I've never done that and I hand pick the parts I want.<p>Paul Irish's projects (and his cohorts) do a really good job of exposing the current state of web technologies. The Modernizr docs for example talks about how many JS and html5 apis are supported differently and what you can do about it.<p><a href="http://www.modernizr.com/docs/" rel="nofollow">http://www.modernizr.com/docs/</a><p>Himself and the yayQuery team are a large part of why I love Javascript.
scotthover 14 years ago
It's rare to see such a funny tech presenter. Nice job!