At our March meeting, we started by comparing the document type declaration in a typical HTML4 webpage with the doctype now used in HTML5: <!doctype html >.
To understand why we can use that doctype now, we worked on seeing what the doctype actually does and how it relates to validation and to the appearance of a webpage.
We used a sample HTML file, swapped out doctypes, added and deleted errors, and then validated the file using different doctypes. The result was that the browser (Firefox) displayed the page the same way with each version, while the validator showed different errors each time.
Next month,we will have a couple of final points on this topic before moving on.
The validator we used is at the W3C website.
For more on doctypes, see this somewhat dated article at the W3C site.
The Philadelphia Area Computer Society CSS Workshop started with the basics of cascading style sheets and will continue as long as there is interest and we have something new to learn.
March 18, 2012
March 13, 2012
March 2012 Meeting Announcement -- HTML5 - The Disappearing DOCTYPE
We have been working with HTML5 this season. We have talked about some of the new tags in HTML5, and how to use them, and how to make them work.
Another aspect of HTML5, though, is the simplification of some aspects of website development. In the next couple of meetings, we will look at these changes, and we will start this month with the always exciting subject of the document type.
When we are done, you might never have to think about the topic again.
Another aspect of HTML5, though, is the simplification of some aspects of website development. In the next couple of meetings, we will look at these changes, and we will start this month with the always exciting subject of the document type.
When we are done, you might never have to think about the topic again.
Subscribe to:
Posts (Atom)