CSS Image With Width Height Example :
<!DOCTYPE html>
<html>
<head>
<title> kod4u </title>
<style type="text/css">
img {
width: 145px;
height: 130px;
}
</style>
</head>
<body>
<h1> Image With Width Height Example </h1>
<p> Here we use image tag with width and height property in our web pages </p>
<img src="img\css.jpg" alt=" please refresh web page ">
</body>
</html>
OUTPUT<html>
<head>
<title> kod4u </title>
<style type="text/css">
img {
width: 145px;
height: 130px;
}
</style>
</head>
<body>
<h1> Image With Width Height Example </h1>
<p> Here we use image tag with width and height property in our web pages </p>
<img src="img\css.jpg" alt=" please refresh web page ">
</body>
</html>
No comments:
Post a Comment