Join James Williamson for an in-depth discussion in this video Formatting phone and email, part of HTML: Structured Data.
- If you would ask somebody to list what makes up…somebody's contact info, I'm betting that phone numbers…and email addresses would be among the first things listed.…So, we'll expand our contact info by adding those.…So the first thing that I'll need to know is…what are the properties necessary…to add structure data for telephone numbers…and email addresses.…To find that out, I'm gonna jump back over to the…specification here at the microformats.org site.…And if I scroll through this I can see…right down here towards the bottom,…here's p-tel for the telephone number,…and if I scroll up a little bit there's…u-email for email addresses.…
So don't always assume that the prefix is gonna…be a "p" in the case of a link,…it's gonna be "u" for URL.…Going back into my code editor I'm gonna be working in…the profile.htm page which is found in the…02_04 directory.…I'm gonna scroll down a little bit to get into the code.…And the first thing I'm gonna locate is the…phone number itself.…So if I scroll down I can see in this contact info section…
- 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 Intermediate
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.