Is it bad to have the <link> tag for hCard when there is no hCard on that page?
Posted
by Evan Carroll
on Stack Overflow
See other posts from Stack Overflow
or by Evan Carroll
Published on 2010-05-27T17:47:09Z
Indexed on
2010/05/27
17:51 UTC
Read the original article
Hit count: 259
I'm just wondering if it is bad practice to put the <link>
tag for hCard profile on every page, if you don't know that the page being rendered has an hCard. My site has hCards - is it worth trimming the link tag out of the pages that don't have them?
<link rel="profile" href="http://microformats.org/profile/hcard">
Does this mean this page has an hCard or look for an hCard on this page? Does it mean interpret an hCard as specified, if found?
Obviously, you can pull in stylesheets using <link>
but they apply to the page. I don't even see anything at that destination other than some sub-par hCard documentation.
© Stack Overflow or respective owner