Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.

Well done!

You have completed (UPI) Chapter 5: Image Manipulation in HTML!

Instruction

How to Align an Image Vertically

Aligning images vertically with text creates a seamless visual layout. The vertical-align CSS property aligns an image relative to surrounding inline elements, such as text.

Step 1: HTML Code for Inline Image Alignment

<h2>We want to hear from you</h2>
<p><img src="images/computer.gif" alt="web address"> <strong>Web:</strong> www.murach.com</p>
<p><img src="images/telep...