<html>
<body>
<h1>The img align attribute</h1>
<p><strong>Note:</strong> The align attribute is not supported in HTML5. Use CSS instead!</p>
<h2>align="bottom" (default):</h2>
<p>This is some text. <img src="smiley.gif" alt="Smiley face" width="42" height="42"> This is some text.</p>
<h2>align="middle":</h2>
<p>This is some text. <img src="smiley.gif" alt="Smiley face" width="42" height="42" align="middle"> This is some text.</p>
<h2>align="top":</h2>
<p>This is some text. <img src="smiley.gif" alt="Smiley face" width="42" height="42" align="top"> This is some text.</p>
<h2>align="right":</h2>
<p>This is some text. <img src="smiley.gif" alt="Smiley face" width="42" height="42" align="right"> This is some text.</p>
<h2>align="left":</h2>
<p>This is some text. <img src="smiley.gif" alt="Smiley face" width="42" height="42" align="left"> This is some text.</p>
</body>
<!-- Mirrored from www.w3schools.com/tags/tryit.asp?filename=tryhtml_img_align by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 27 Jan 2020 03:16:59 GMT -->
</html>