HTML and CSS Reference
In-Depth Information
<title>The Fellowship of the Ring</title>
<author>J.R.R. Tolkien</author>
<genre>Fantasy</genre>
<published>July 29th, 1954</published>
</book>
With this we have defined one <book> element. As this element encloses four other ele-
ments, we can call the <book> element a parent element, and <title>, <author>, <genre>
and <published>, child elements. We can now extend this document to include all topics
from the trilogy by simply duplicating the markup tags and changing the content within.
<book>
<title> The Fellowship of the Ring</title>
<author>J.R.R. Tolkien</author>
<genre>Fantasy</genre>
<published>July 29th, 1954</published>
</book>
<book>
<title>The Two Towers</title>
<author>J.R.R. Tolkien</author>
<genre>Fantasy</genre>
<published>November 11th, 1954</published>
</book>
<book>
<title>The Return of the King</title>
<author>J.R.R. Tolkien</author>
<genre>Fantasy</genre>
<published>October 20th, 1955</published>
 
Search WWH ::




Custom Search