I’ve been working on editing the proof copies of the book for the last several weeks and one thing that keeps popping to mind is the audience. I wrote the book intending it for a beginner audience, but I should clarify this. When I say that it’s for beginners, I mean beginners to mobile and web application development, not beginners to HTML.
I wrote the book to teach people who already have some knowledge of HTML and web development how to use HTML5 to create mobile web applications. The book is not intended to teach someone who has never built a web page before how to write HTML. There are lots of books available that you can use to learn HTML. These are some of my favorites:
I hope that designers and developers interested in learning how to build mobile web applications will find my book useful. And if you’re still learning HTML, there’s always my site on About.com to help you get started. I have tons of resources there to help beginners learn HTML and web design.
If you use tables (not for layout, of course) it can be very tedious to get the borders to surround every cell using CSS. You need to set the border on the table and on every
td, and then collapse the borders with
border-collapse. I don’t know about you, but I would often just add the
border attribute to the table, just to get it done quickly.
Well, this week the HTML5 working group decided to make that okay again. They agreed that many tables need to have borders to define the cells. The proposal pointed out that putting CSS on a table to define the borders would not be carried over when the table was moved between implementations. In other words, if you wrote a table in an HTML document, and then ported that document into XML, the borders in CSS would stay with the CSS, not with the table.
Now it is legal to write
<table border> to add borders around your table and table cells. I, for one, am pleased!
I am personally very interested in HTML5, but that’s just me. Lot’s of people think I’m a little crazy for focusing on a version of the language that is only really supported by IE 9 and the “other” browsers. After all, who really browses with Firefox and Safari (and don’t forget Chrome and Opera…)?
Well, I run on a Mac, so IE is difficult to run for me (I have it on my VM, but that’s another story). So I don’t really care about IE (Did I say that out loud?). I test with it, but otherwise, I avoid it.
But that’s not where my passion for HTML5 comes from. After all, I could use HTML4 and have great pages that work on Safari (and Firefox, etc.) without needing a new version of HTML.
No, my passion comes from my iPad. I love the fact that I can create an application in HTML5 that runs on my iPad as though it were a standalone application. There are even tools out there for me to convert my HTML5 applications into “real” applications for iOS. I’ve not tried them yet, but I will. Plus, along with the iPad, my HTML5 apps can run on the Xoom Android tablet and other Android phones as well.
What about you? Why are you interested in HTML5?
I am excited to start working on this blog about HTML5. In it I’ll provide sample sites written in HTML5, links to tutorials on other sites, references that I use to learn HTML5 and lots more. I hope you enjoy learning about HTML5 as much as I enjoy writing about it.