The "Apple Bavarian Torte" recipe page from the dessertWeb website is shown below. Download the files from the previous link and complete the web document following the instructions for the assignment described below.
- Using an HTML editor, open the torte.htm web document file from the download and add the structure of an HTML5 document before and around the recipe text (all the existing text goes inside the body block)
- Within the
head
block, insert a comment containing your name and the project due date- Specify Apple Bavarian Torte Recipe as the page
title
- Within the
head
block, add ameta
element with thecharset
attribute assigned the value UTF-8- Link the document to the modernizr-1.5.js script file and the dessertstyles.css style sheet file
- Within the
body
block, add aheader
element; within theheader
element, insert anh1
heading containing the inline image dessertweb.jpg with thealt
text "dessertWEB"- Enclose the recipe description, ingredients list, and directions within a
section
element and enclose the recipe reviews within anaside
element- Mark the text "Apple Bavarian Torte" as an
h1
heading- Replace the text "4 stars" in the
h1
heading with a set of four star symbols (Unicode character number 9733)- Directly below the
h1
heading, insert the inline image torte.jpg; specify thealt
text as "Torte image" and set thewidth
of the image to 250 pixels- Mark the description of the dessert as a paragraph
- Mark "INGREDIENTS" and "DIRECTIONS" as
h2
headings- Mark the list of ingredients as an unordered list and the list of directions as an ordered list
- Within the ingredients, replace the occurrences of the text "1/2" with the character symbol ½ (Unicode character number 189), the occurrences of "1/4" with the symbol ¼ (Unicode character number 188), and the occurrences of "1/3" with the symbol ⅓ (Unicode character number 8531)
- Replace each occurrence of the word "degrees" in the directions with the degree symbol (°) (character entity name deg)
- Mark "REVIEWS" within the
aside
element as anh1
heading- Change the text of each customer star rating in the recipe reviews
aside
to a set of star symbols using character number 9733 placed within a paragraph (the number of stars for the "Nothing Special" review is two as per the image above, not four)- Enclose the text of each customer review in a paragraph nested within a
blockquote
element; place the name of the reviewer and the date on a new line within that paragraph using a line-break element; insert an em-dash (—) (character entity name mdash) before the word "Reviewed" in each of the reviews; enclose the date of each review within atime
element and enclose "by reviewer" within acite
element where reviewer is the name of the reviewer- Save changes to the web documnet and then open the torte.htm web document in several browsers to verify that the layout and content resemble that shown in the image above