I have a webpage with four articles. The third article is extremely important an
ID: 3865133 • Letter: I
Question
I have a webpage with four articles. The third article is extremely important and I would like to emphasize it more. What, if anything, do I have to add to the html and/or CSS file for the following: The article should have red text on a yellow background. It should be 380 pixels wide and 500 pixels high. The text should display in Verdana size 18 pt. Any content that does not fit should be scroll-able vertically only. The image inside the article should have a border around it in any design you see fit.Explanation / Answer
I dint write full pararaph
<html>
<head><style>
h1 {
}
div.scroll {
background-color: #00FFFF;
width: 100px;
height: 200px;
overflow: scroll;
}
.p3 {
background-color: yellow;
color:red
}
img{
border: 5px solid red;
}
p {
font-family:Verdana;
font-size:18pt
}
</style>
</head>
<body>
<p><h1 >This header will be green.</h1></p>
<p><span>This paragraph will be blue.<span></p>
<p ><span class="p3" ><em >This body text will be red.</em></span></p>
<p>
<div class="scroll">You can use the overflow property when you want to have better control of the layout. The default value is visible .</div></p>
<img class="border" src="https://cdn.pixabay.com/photo/2016/09/03/23/18/rose-1642970_960_720.jpg">
</body>
</html>
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.