Documente Academic
Documente Profesional
Documente Cultură
<html>
<head>
<title>Bon Bons</title>
</head>
<body>
<div id = "fact">
<h2>Chocolate Fact</h3>
<p>Chocolate is technically responsible for the microwave. Scientists were experimenting
with micro waves in hopes of creating better radar detectors
and in the wake of World War II, scientists were testing devices called magnetrons. A
scientist named Percy Spencer entered the lab with a chocolate
bar in his pocket and realized it quickly began to melt. Spencer then realized that the
magnetron could potentially be used to cook food. He
successfully tried popping corn and then attempted to cook an egg which cooked so quickly,
it blew up in his face.</p>
</div>
<div id = "recipe">
<h1>Peanut Butter Bon Bons</h1>
<h3> Ingredients:</h3>
<img src="bon.jpg" align = "right">
<ul>
<li>1/2 cup oleo</li>
<li>1 lb. powdered sugar</li>
<li>2 cups peanut butter</li>
<li>3 cups rice krispies</li>
<li>1 large Hershey bar</li>
<li>1/2 bar parafin</li>
<li>6 oz package of chocolate chips</li>
</ul>
<h3>Mix:</h3>
<p>Mix oleo, powdered sugar, peanut butter, and rice krispies together. Form mixture into balls and
refrigerate.
While they are refrigerating, make the chocolate syrup.</p>
<h3>Melt:</h3>
<p>In double boiler, melt 1 larger Hershey bar with 6 oz package of chocolate chips and 1/2 bar of parafin
on low heat.
Once balls are cooled in fridge, dip them in the chocolate syrup until well coated and set aside. Once all
cooled, place bon bons in refrigerator.</p>
body{
background-color: #D2B48C
}
h1, h2, h3, p, ul{
color: white;
}
h3{
text-decoration: underline
}
#recipe{
background-color: #993300;
border-style: solid;
border-width: 5px;
border-color: black
margin-top: 10px;
margin-right: 300;
margin-left: 300;
padding:5px;
#fact{
background-color: #5C3317;
width: 200px;
height: 532px;
border-style: inset;
border-width: 5px;
border-color: black;
float:right;
padding: 10px
}
}
#footer p{
font-size: 10px;
color: black;
text-align: center;
}
<article>
<mark>
<time>
<nav>
<video>
An article is used when using a blog, or have a news article. Lets add a
new section to our recipe called news. In that section, use the article
tag and make up some fake article. Here is my example.
</aside>
<section id= "news">
<article>
<h1>Chocolate Prices Rise</h1>
<p>Chocolate prices rise due to war. The military has taken more than
90 percent of chocolate making it a rare delicacy. Chocolate has risen
300 percent.
The only people able to afford this chocolate are... <a href =
"">more</a>.</p>
</article>
</section>
<h1>Peanut Butter Bon Bons</h1>
#news{
background-color: #5C3317;
width: 200px;
height: 560px;
border-style: inset;
border-width: thin;
border-color: black;
margin-right: 5px;
float:left;
padding: 10px
}
The time tag is used for a date and time. Lets add one to our
article right under the h1 tag. Make sure and make the font
white using the CSS.
There are several ways to write in the date and time.
<time datetime=2013-02-18> 2/18/2013> </time>
This is the official Internet format. Here are some other ways to
write it.
2013-02
2013
2013-02-18 09:00
2013-02-18 18:00
05:00
2013-02-18 05:00z
bar at the top of the recipe page. Lets first create the links for the
navigation. Lets add the navigation at the very top of the page
right under the section id recipe tag.
<nav>
<ul>
<li>HOME</li>
<li>TOC</li>
<li>MAIN COURSE</li>
<li>APPETIZERS</li>
<li>DESSERTS</li>
</ul>
</nav>
ul{
background-color: #efe5d0;
margin: 10px
list-style-type: none;
padding: 5px 0px 5px 0px;
}
ul li{
display: inline;
padding: 5px 10px 5px 10px;
}
ul li a:link, ul li a:visited{
color: #954b4b;
border-bottom: none;
font-weight: bold;
}
ul li.selected{
background-color: #c8b99c;
}
The video tag is used to put a video into your site. This
and WebM.
MP4- MP4 is supported by Safari and IE9 or greater.
supported by others.
MP4 is in second and is the industry darling.
Ogg is the most used video format.
codecs=avcl.42E01E, mp4a.40.2>
<source src=video/YouMovie.webm
type=video/webm; codecs=vp8, vorbis>
<source src=video/YouMovie.ogv type=video/ogg;
codecs=theora, vorbis> <p>Sorry, your browser
doesnt support the video element.</p>
</video>