We would like to know how to set size of image.
<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
img {<!-- w ww . j a v a2s . co m-->
height: 15px;
width: 200px;
}
</style>
</head>
<body>
<img
src="http://www.java2s.com/style/download.png" />
</body>
</html>
The code above is rendered as follows: