Create a Web Page
Let's create a simple web page to display the following recipe. For this page we need to display a heading <h1> ... </h1>
, a subheading, <h2> ... </h2>
and a list. The list starts with <ul>
and ends with </ul>
. In between are the list items. Each list item is denoted between list item tags, <li> ... </li>
We'll also need some paragraphs, <p> ... </p>
. You don't need a paragraph return after the heading tags. The closing heading tag takes care of that. If you want to start a new line without a paragraph break then use the break self-closing tag, <br/>
.
Your Assignment
Copy the text below to a html page in Eclipse or an editor of your choice. Apply the HTML tags indicated above to mark-up the heading, list and paragraphs.
Crabcake Recipe
Ingredients:
1 lb. jumbo lump or backfin crab meat
2 slices bread or bread crumbs
1 tbsp. mayonnaise (light or regular)
1 tbsp. Dijon mustard
2 tsp. Old Bay seasoning
1 tbsp. snipped parsley
1 egg (or substitute for special diets)
tartar sauce or cocktail sauce
Directions:
Beat the egg in a bowl. Trim the crusts from the bread and break the slices into small pieces. Add these pieces to the egg. Mix in the mayonnaise, Dijon mustard, Chesapeake seasoning and parsley, and beat well.
Place the crabmeat in a bowl and pour the egg mixture over the top. Gently toss or fold the ingredients together, taking care not to break up the lumps of crabmeat.
Form the cakes by hand into patties about 3 inches around and 3/4-inch thick. Shape should be like a cookie, not like a meatball or golf ball. Place the cakes in the refrigerator for at least 45 minutes before cooking. This is very important so the cakes don't fall apart.
Broil the Crab Cakes:
Slip them under a preheated broiler until nicely browned, turning to cook evenly, about 4 to 5 minutes on each side.
Or saute:
Heat a small amount of butter or olive oil in a skillet and saute the cakes, turning several times, until golden brown or about 8 minutes total cooking time.
Serve at once with tartar sauce, mustard, or cocktail sauce on the side.
Serves 6 people