Show the text only on the right of the image - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Image Text

Description

Show the text only on the right of the image

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
 </head> <!--from  ww  w.j av a 2s.c  o  m-->
 <body> 
  <div> 
   <a href="" style="float:left;"> <img src="https://www.java2s.com/style/demo/Opera.png" style=""> </a> 
   <a href="">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi ullamcorper </a> 
  </div>  
 </body>
</html>

Related Tutorials