Join James Williamson for an in-depth discussion in this video Adding names and titles, part of HTML: Structured Data.
- The way that the microformats syntax…essentially works is that you declare an object type first…by using the class attribute and then passing…the object type into that of a parent element.…Now we did that in the last exercise…when we applied an h-card class to the article…that contains all of our contact information.…Now once you've done that, you can then go…and use the class attribute to apply individual properties…to the different parts of that contact information,…like name, images, job titles, things like that.…
To understand which properties are available to you,…you have to take a look at the h-card specification…which you can find here at the microformats.org site.…I'm gonna scroll all the way down…towards the bottom of this…and once I get down here I can see…all of the h-card individual properties themselves.…Now as you scan through these,…you're gonna notice that the properties all have…sort of a prefix to them.…Some have "p"s, some have "u"…others are gonna have "dt", others are gonna have "e"…and they basically identify different types of things.…
- Choosing a syntax
- Learning microformats
- Structuring contact data
- Adding contact names, titles, photos, and addresses
- Learning RDFa
- Structuring event data
- Providing event dates
- Adding an event URL
- Learning microdata
- Structuring products
- Setting product pricing
- Adding individual product reviews
- Learning JSON-LD
- Creating a knowledge graph
Skill Level Advanced
1. Introducing Structured Data
2. Marking Up Contacts
3. Marking Up Events
4. Marking Up Products
5. Creating a Knowledge Graph
Additional resources4m 59s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.