<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Center Align Image</title>
    <link rel="stylesheet" href="day6qs1.css">
</head>
<body>
    <h1>Center Align The Image</h1>
    <p>In this example, the css margin and display use to center the image below.Once the display property is set to<b>"Block"</b>and the image width to fixed percentage,the mergin of the left and right are set to <b>"auto"</b>.</p>
    <img src="https://upload.wikimedia.org/wikipedia/commons/b/b6/Image_created_with_a_mobile_phone.png" alt="image">
</body>
</html>