Hi,
Just downloaded HeadFirst HTML and css....Was following the book to create a page.I entered the code correctly the way I see it. But the problem is that text size keeps increasing on every line....I dont see much things up there....
I am punching in the code which was entered and the pic of the webpage...Please suggest what went wrong.
<html>
<head>
<title>Star Coffee Beverages</title>
<style type = "text/css">
body {
background-color: #d2b48c;
margin-left: 20%;
margin-right: 20%;
border: 1px dotted gray;
padding: 10px 10px 10px 10px;
font-family: sans-serif;
}
</style>
</head>
<body>
<h1>Star Coffee Beverages</h1>
<h2>House Blend, $ 1.49<h/2>
<p>A smooth, mild blend of Coffee from Mexico, Bolivia and Gautemala.</p>
<h2>Nacho Caffe Latte, $ 2.35</h2>
<p>Espresso, steamed milk and chocolate syrup.</p>
<h2>Cappuccino, $ 1.09<h/2>
<p>A mixture of expresso, steamed milk and foam.</p>
<h2>Chai Tea, $ 1.85</h2>
<p>A spicy drink made with black tea, spices, milk and honey.</p>
</body>
</html>
Thanks and regards