From the course: HTML: Structured Semantic Data

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

Challenge: Marking up a document with microdata

Challenge: Marking up a document with microdata - HTML Tutorial

From the course: HTML: Structured Semantic Data

Challenge: Marking up a document with microdata

(bright music) - [Instructor] With all that fabulous information about microdata, it's time for a challenge. So in this particular challenge, I've given you an HTML document describing a bottle of Two Trees Olive Oil, The Delicate Flavor, and what I'd like for you to do is to mark up this document with the appropriate microdata. Some things you want to think about as you work through this challenge. First of all, you're going to want to identify the main schema from schema.org. How would you describe a bottle of olive oil? You're going to need to go to schema.org and figure out what would be the right schema for that. You also want to think about any embedded schema that you might need to address. So once you've found the schema you want to use, you might want to take a look at that schema and see if there's any items where there's more that you want to think about. So for example, in the examples that I just went through with you, you had an opening hours schema that was embedded…

Contents