Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Create an html/javascript and align the image and text vertically and horizontal

ID: 3571371 • Letter: C

Question

Create an html/javascript and align the image and text vertically and horizontally to the center as the image shown.Also resize the image

Main html document

<!DOCTYPE html>
<html>
<head>
<title>HTML and JavaScript</title>
</head>

<frameset cols="20%,*,">
<frame name="UpperFrame" src="upper2.html">
<frame name="LowerFrame" src="lower4.html">
</frameset>

</html>

upper2.html

<!DOCTYPE html>
<html>
<head>
<title>HTML and JavaScript</title>
<center><h1>ANIMAL</h1></center></P>
<CENTER><h1>IMAGES</H1></CENTER></p>
<center><p><a href=>Lions</a></p>
<p><a href=>Tigers</a></p>
<p><a href=>Bears</a></p>
<p><a href=>Camels</a></p>
<p><a href=>Zebras</a></p>
<p><a href=>Elephants</a></p></center>

</div>

</body>
</html>

lower4.html

<!DOCTYPE html>
<html>
<head>
<title>HTML and JavaScript</title>
</head>

<body>
<img
src="http://www.websitedevelopmentbook.com/Chapter02/cat.jpg"/>

</div>
</body>
</html>

ANIMAL IMAGES Lions Tigers Bears Camels Zebras Elephants

Explanation / Answer

<!DOCTYPE html>
<html>
<head>
<title>HTML and JavaScript</title>
</head>
<body>
<imgvertical-align:middle"
src="http://www.websitedevelopmentbook.com/Chapter02/cat.jpg"

/>

</div>
</body>
</html>

change code shipset tovertical-align:middle"

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote