-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
41 lines (33 loc) · 1.47 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Microdata Example - Recipe</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div itemscope itemtype="https://schema.org/Recipe">
<h1 itemprop="name">Delicious Pancakes</h1>
<p><strong>Author:</strong> <span itemprop="author">Angela Chinweike</span></p>
<p><strong>Description:</strong> <span itemprop="description">Fluffy homemade pancakes that are perfect for breakfast.</span></p>
<p><strong>Cooking Time:</strong> <span itemprop="cookTime">15 minutes</span></p>
<p><strong>Ingredients:</strong></p>
<ul>
<li itemprop="recipeIngredient">2 cups flour</li>
<li itemprop="recipeIngredient">1 cup milk</li>
<li itemprop="recipeIngredient">2 eggs</li>
<li itemprop="recipeIngredient">1 tbsp sugar</li>
<li itemprop="recipeIngredient">1 tsp baking powder</li>
<li itemprop="recipeIngredient">Pinch of salt</li>
</ul>
<p><strong>Instructions:</strong></p>
<ol itemprop="recipeInstructions">
<li>Mix all dry ingredients together.</li>
<li>Add eggs and milk, then stir until smooth.</li>
<li>Heat a pan and pour the batter.</li>
<li>Cook until golden brown, then flip and cook the other side.</li>
</ol>
</div>
</body>
</html>