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.
Solution: Marking up a document with microdata - HTML Tutorial
From the course: HTML: Structured Semantic Data
Solution: Marking up a document with microdata
(upbeat music) - [Instructor] Now how'd you do with that challenge? Well, hopefully you started with thinking about that bottle of olive oil and you identified it as a product and this is the schema here for a product with all of its various characteristics that are described here. As you read through this, one of the things that you might have encountered as part of a product is a thing called an aggregate offer, which is actually nested under offer, and an aggregate offer is a way of dealing with pricing for your product, and so as you see here there's a high price and a low price and then maybe you only have a certain number of things that are available and so that is incorporated here as well. It also incorporates things like payment methods and again, things like aggregate ratings and categories and so forth, so these were the two schemas that I picked out to go with this bottle of olive oil and once I had that in mind I went ahead and started to incorporate information into my…
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)
-
-
-