In: Computer Science
Dear Student ,
As per the requirement submitted above , kindly find the below solution.
Here a new web page with name "newsArticle.html" is created, which contains following code.
newsArticle.html :
<!DOCTYPE html>
<html>
<head>
<!-- <link> is used to refer to external stylesheet -->
<link href="styles.css" rel="stylesheet">
<title>5 Things to Know About Rattlesnakes and Their Babies</title>
</head>
<body>
<img src="http://www.arizona.edu/sites/default/files/UA_horiz_rgb_webheader_0.png">
<h1>5 Things to Know About Rattlesnakes and Their Babies</h1>
<p id="author-name-and-date">UA College of Pharmacy | Aug. 6, 2014</p>
<p>Arguably, snake season is year-round in Arizona, a state known for its rattlers. But baby rattlesnakes are born in July and August, making these two months especially dangerous for hikers, gardeners, children and others at high risk of exposure to rattlesnake bites.</p>
<img src="https://cdn.uanews.arizona.edu/s3fs-public/styles/2015_story_body_aspect_ratio_switcher/public/story-images/Snake%20bite%209-yr-old.jpg?OplFz4yPCASYlNqDwBjuNhjt0o6z_Djp&itok=9_xCW0fn">
<p>So far this year, 74 rattlesnake bites to humans have been reported to the Arizona Poison and Drug Information Center. Based at the University of Arizona College of Pharmacy, the center serves the entire state of Arizona with the exception of Maricopa County, providing free and confidential poison and medication information to callers around the clock.</p>
<p>Specialists answering the phones at the center regularly receive calls from Arizonans of all ages who don't realize they were bitten by a rattler. The poison center urges anyone who feels a mysterious sting, pinch or bite while outdoors to immediately call the center at 800-222-1222.</p>
<p>"We will ask a few questions that will help you either identify possible snakebite or eliminate it," said Keith Boesen, director of the Arizona Poison and Drug Information Center. "With snakebite, the sooner the medical treatment, the better the outcome, so calling us right away can make a very big difference for the victims and the medical teams treating them."</p>
<p>The center advises anyone who might come cross paths with rattlesnakes to be aware of these five things:</p>
<ol>
<li>Baby rattlesnakes range in length from 6 to 12 inches and are easily camouflaged by brush and grass.</li>
<li>Baby rattlesnakes are rattleless until they first shed their skins, so there will be no infamous "chica-chica" sound before they strike.</li>
<li>Despite their impish size, baby snakes have enough venom to be very dangerous if they bite a human.</li>
<li>Adult rattlesnakes do not always rattle an audible warning before or while they are biting.</li>
<li>It's a good idea to call the poison center if you notice an unidentified small cut or wound, even if you feel no pain. With the lack of telltale rattle warning, people can be bitten without knowing what has happened until they notice their symptoms and attribute them to a snakebite.</li>
</ol>
<p>Share: <a href="https://twitter.com/">Twitter</a> <a href="https://www.facebook1.com/">Facebook</a> <a href="https://www.linkedin.com/">LinkedIn</a></p>
</body>
</html>
************************************
styles.css :
/* external stylesheet */
/* style rule for image */
img{
width:300px;
}
/* style rule for h1 */
h1{
padding: 5px;
font-family: Arial, Helvetica, sans-serif;
font-size: 24px;
color: white;
background-color: red;
}
/* style rule for id="author-name-and-date" */
#author-name-and-date{
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: lightgray;
}
/* style rule for p and ol */
p,ol{
font-family: 'Times New Roman', Times, serif;
font-size: 16px;
color: gray;
}
/* style for hyperlink */
a{
font-family: Arial;
font-size: 12px;
color: blue;
}
======================================================
Output : Compile and Run newsArticle.html in the browser and will get the screen as shown below
Screen 1 :newsArticle.html
NOTE : PLEASE FEEL FREE TO PROVIDE FEEDBACK ABOUT THE SOLUTION.