css display property(tut24)2.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CSS Display Property</title>
<style>
header{
margin:auto;
border:2px solid red;
width:15%;
}
img{
width:34px;
display:block;
}
h3{
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
margin:0px;
}
</style>
</head>
<body>
<header class="top">
<img src="https://codewithharry.com/static/home/img/photo.png" alt="">
<h3>Welcome to Shruti's blog</h3>
</header>
</body>
</html>
Comments
Post a Comment