Last active
August 29, 2015 13:57
-
-
Save michaelschofield/9476036 to your computer and use it in GitHub Desktop.
Trying to markup the most semantic directory ever. Inspired by cool semantic things being done by Jason Clark and Scott Young.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Have to get creative with Schema though. I'm actively finagling. DTs cannot contain any block level elements, but DDs can. | |
<dl vocab="http://schema.org/" typeof="Person"> | |
<dt property="name">Sandra Fiegi</dt> | |
<dd> | |
<img property="image" src="example.jpg" alt="A photo of Sandra Fiegi"> | |
</dd> | |
<dt>Title</dt> | |
<dd property="jobTitle">Administrative Associate</dd> | |
<dt>Department</dt> | |
<dd property="workLocation">Administration</dd> | |
<dd property="affiliation worksFor">Montana State University</dd> | |
<dt>Phone</dt> | |
<dd property="telephone">406-994-6537</dd> | |
<dt>Email</dt> | |
<dd property="email">[email protected]</dd> | |
<dt>Address</dt> | |
<dd property="address">Room 124</dd> | |
</dl> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This looks right to me, but I'm not all that good with schema.