Continue

 Set Image Alignment

By default, image will align at the left side of the page, but you can use align attribute to set it in the center or right.

Example

<!DOCTYPE html>

<html>

<head>

<title>Set Image Alignment</title>

</head>

<body>

<p>Setting image Alignment</p>

<img sec "test.png" alt="Test Image" border="3" align="right"/>

</body>

</html>

This will produce the following result:

Setting Image Alignment

 


Comments

Popular Posts