In: Computer Science
Mark up a web page containing the poem "Revelation" by Robert Frost shown in Figure 1–47.
Figure 1-47
Do the following:
Tasks
Open the file code1-2.html and in the comment section enter your name (First + Last) and the date (MM/DD/YYYY) into the Author: and Date: fields of the file.
0
Mark the text Revelation as an h1 heading and the text by Robert Frost as an h2 heading.
Mark each stanza of the poem as a paragraph. Within each of the three stanzas, end each line with a line break using the <br /> tag. For alternating lines within the three stanzas, insert three character entities to indent the text of those lines three spaces.
Replace the line of dashes after the poem with the <hr /> tag to indicate a horizontal rule.
Enclose the reference to the poem’s origin within a <footer> tag. Mark the text A Boy’s Will using the <cite> tag. Replace the word "copyright" with the character reference ©.
Verify the final website looks as designed.
Grading
Complete each task listed above. Each task contains automated checks which are used to calculate your grade. You can use the Website Refresh button to refresh your website preview at any point. You view a full-page version of your website by clicking the arrow in the top right corner of your website preview. When you have completed each task by clicking the checkbox, open the task list panel on the left navigation bar and click the "Submit" button.
HTML code : index.html
<html>
<body>
<h1>Revelation</h1>
<h2>by Robert Frost</h2>
<p>
We make ourselves a place apart <br/>
Behind light words that tease and flout,<br/>
But oh, the agitated hear<br/>
Till someone really find us out.<br/>
</p>
<p>
‘Tis pity if the case require<br/>
(Or so we say) that in the end<br/>
We speak the literal to inspire<br/>
The understanding of a friend.<br/>
</p>
<p>
But so with all, from babes that play<br/>
At hid-and-seek to God afar,<br/>
So all who hide too well away<br/>
Must speak and tell us where they are.<br/>
</p>
<hr/>
<footer>From<cite> A Boy's Will,</cite>published by Henry Holt and Company ©1913 (in the public domain)</footer>
</body>
</html>
Screenshot of code :
Screenshot of OUTPUT website look :