Microformats test suite

hCard 11 - img (image) element test

This page was design to test the use of the image element.

From: hCard test suite 1.0

Author: Glenn Jones

Tests:

Test Result Comment
vcard[0].fn IsEqualTo("John Doe") The fn value should be taken from the alt attribute on a img element
vcard[1].n.given-name[0] IsEqualTo("John") The given-name value should implied from the alt attribute
vcard[2].n.family-name[0] IsEqualTo("Doe") The family-name value should implied from the alt attribute

History:

Some rights reserved