Hello I need help putting text underneath a picture in HTML. I have to picture t
ID: 3745397 • Letter: H
Question
Hello I need help putting text underneath a picture in HTML. I have to picture to the right margin of the screen and would like to put text underneath it. I'll also have to put an aditional picture on the left margin with text underneath and an addittional picture on the right. this is my current code.
</body>
</html>
<html>
<body>
<h2>L2P1</h2>
<p>text-align:right; This is floating text.</p>
<div>
<img src="/tools/chisels.jpg" alt="chisels.jpg"; />
<p>This is floating text.</p>
<div>
</body>
</html>
Explanation / Answer
In HTML every tag start with <html> and end with </html>
code for this is
<html>
<body>
<h2>L2P1</h2>
<p> This is floating text.</p>
<div>
<img src="/tools/chisels.jpg" alt="chisels.jpg"; />
<p align="right" >This is floating text.</p>
</div>
<div>
<img src="/tools/chisels.jpg" alt="chisels.jpg",/>
<p align="left">this is the text</p>
</div>
</body>
</html>
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.