HTML CSS examples for CSS Widget:Image
Style an image by its CSS property
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> img[width='250'] { margin:100px; } </style> <!-- w ww . ja va 2s . c o m--> </head> <body> <img src="https://www.java2s.com/style/demo/Opera.png" width="250"> </body> </html>