Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are benefit to use doctype DTD XHTML+RDFa 1.0//EN over XHTML 1.0 Strict?

Tags:

html

css

xhtml

In some sites on web I noticed they are using this doctype. What is this doctype and what is the benefit of this Doctype XHTML+RDFa?

<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML+RDFa 1.0//EN' 'http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd'>
<html xmlns='http://www.w3.org/1999/xhtml' xmlns:v="http://rdf.data-vocabulary.org/#" xml:lang='en' dir='ltr'>
 <head profile="http://purl.org/uF/2008/03/">
like image 823
Jitendra Vyas Avatar asked Oct 15 '22 01:10

Jitendra Vyas


1 Answers

Basically RDFa is 'Rich snippets and structured markup', it'll allow crawlers to understand the content on your page.

Google explains it best: http://www.google.com/support/webmasters/bin/answer.py?hl=en&answer=146898

Sounds like Rich Snippets will be the future of SEO in enough sites start to use them.

Google also has built a testing tool for reading Rich Snippets: http://www.google.com/webmasters/tools/richsnippets

Here's a list of sites already using RDFa: http://rdfa.info/wiki/Examples-in-the-wild

like image 149
Mikey1980 Avatar answered Oct 16 '22 14:10

Mikey1980