HTML code which displays 3 images at LEFT, RIGHT and CENTER respectively.

Practical : 4
Subject : Web Technology
Aim : Create a HTML page which displays 3 images at LEFT, RIGHT and CENTER respectively.


Code:

<html>
<head>
<title>Image Align Attribute</title>
</head>
<body>
<img align="left" src="C:\Users\Believe\Pictures\left.png" width="200px" height="200px">
<img align="right" src="C:\Users\Believe\Pictures\right.png" width="200px" height="200px">
<h1 align="center"><img src="C:\Users\Believe\Pictures\center.png" width="200px" height="200px"></h1>
</html>


Output:

Previous
Next Post »

Ads