We would like to know how to make image anchor tag flow with text.
<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
img {<!-- ww w . j av a2 s .c om-->
border: 1px solid black;
float: left;
}
a {
border: 1px solid red;
display: inline-block;
}
</style>
</head>
<body>
<a href="#"><img
src="http://www.java2s.com/style/download.png" /></a>
</body>
</html>
The code above is rendered as follows: