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 - 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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
(Locked)
Using itemscope and itemtype to add meaning3m 30s
-
(Locked)
Adding itemprop to expand on meaning7m 23s
-
(Locked)
Embedding schemas in schemas5m 1s
-
(Locked)
Using the meta tag for information that cannot be marked up6m 26s
-
(Locked)
Using the Structured Data Markup Helper for microdata7m 30s
-
(Locked)
Testing your microdata markup with the Structured Data Testing Tool9m 16s
-
(Locked)
Challenge: Marking up a document with microdata1m 34s
-
(Locked)
Solution: Marking up a document with microdata3m 15s
-
(Locked)
-
-
-