If we want to see the particular part of the Image, we use the Clip Property. In this property, We specify the particular dimensions which we want to visible.
- <html>
-
- <head>
- <style type="text/css">
- img {
- position: absolute;
- clip: rect(0px, 40px, 100px, 0px);
- }
- </style>
- </head>
-
- <body>
- <img src="123.jpg" height="40" width="50" />
- </body>
-
- </html>