From 81511de7c7458a033d114f8b5d166284346eef5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tantek=20=C3=87elik?= Date: Wed, 5 Oct 2011 12:39:21 -0700 Subject: [PATCH] Diving In section updates and a few details. microformats work in HTML3 onward, more accurate to say "HTML" in general, RDFa has been ported to HTML (no longer future tense), microdata is separate from HTML5, but designed with HTML5 specifically in mind. --- extensibility.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensibility.html b/extensibility.html index b7cf17e..2d7f65e 100644 --- a/extensibility.html +++ b/extensibility.html @@ -32,9 +32,9 @@

Diving In

Of course, HTML can’t please everyone. No standard can. Some ideas don’t make the cut. For example, there is no <person> element in HTML5. (There’s no <rant> element either, damn it!) There’s nothing stopping you from including a <person> element in a web page, but it won’t validate, it won’t work consistently across browsers, and it might conflict with future HTML specs if we want to add it later. -

Right, so if making up your own elements isn’t the answer, what’s a semantically inclined web author to do? There have been attempts to extend previous versions of HTML. The most popular method is microformats, which uses the class and rel attributes in HTML 4. Another option is RDFa, which was originally designed to be used in XHTML but is now being ported to HTML as well. +

Right, so if making up your own elements isn’t the answer, what’s a semantically inclined web author to do? There have been attempts to extend previous versions of HTML. The most popular method is microformats, which uses the class and rel attributes in HTML. Another option is RDFa, which was originally designed to be used in XHTML but has been ported to HTML as well. -

Microformats and RDFa each have their strengths and weaknesses. They take radically different approaches towards the same goal: extending web pages with additional semantics that are not part of the core HTML language. I don’t intend to turn this chapter into a format flamewar. (That would definitely require a <rant> element!) Instead, I want to focus on a third option which is part of, and tightly integrated into, HTML5 itself: microdata. +

Microformats and RDFa each have their strengths and weaknesses. They take radically different approaches towards the same goal: extending web pages with additional semantics that are not part of the core HTML language. I don’t intend to turn this chapter into a format flamewar. (That would definitely require a <rant> element!) Instead, I want to focus on a third option developed using lessons learned from the from microformats and RDFa, and designed to be integrated into HTML5 itself: microdata.