Join James Williamson for an in-depth discussion in this video Formatting addresses, part of HTML: Structured Data.
- We'll finish our contact information…by adding a mailing address.…Doing so will also allow us to use…another microformats object type,…and explore how nesting works.…So, to sort of give you an idea…of what we're going to be doing here,…I've opened up the profile.htm,…found in the 02_08 directory.…I've scrolled down into the code…until I found my mailing address,…and I can see that the entire mailing address…is inside of a paragraph here.…And inside of that, I have her name,…her position, the name of the company,…and then I have the street address, the city,…the state, and the zip code.…
All of those things go to make up the postal address.…Now I can include as many of these things,…or as few of them, as I want.…In this case, I know I want the street address,…the city, the state, and the zip…as part of my address.…Now as we normally do,…I'm going to go back out to the h-card specification…to take a look at these individual properties…that I can add.…Now I see that I have a p-adr,…for postal address, and it's got this little note here…
- 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.