HTML CSS examples for CSS Widget:Image Text
Image and text in div with border
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> </head> <!-- w w w.j ava 2 s . c om--> <body> <div style="border-style:solid; border-color:aqua; border-width:3px;"> <img id="" src="https://www.java2s.com/style/demo/Opera.png" align="left"> <div> <span>Lorem ipsum dolor<br> <span>Lorem ipsum dolor<br> <span>Lorem ipsum dolo</span> </span> </span> </div> <div style="clear:both;" < div> </div> </div> </body> </html>