Images and anchor, apply alignment to link text - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Image Text Alignment

Description

Images and anchor, apply alignment to link text

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
 </head> <!--from  w w w.jav  a2 s .co  m-->
 <body> 
  <div> 
   <ul> 
    <li> <img src="https://www.java2s.com/style/demo/Firefox.png"> <a href="#">Lorem ipsum </a> </li> 
    <li> <img src="https://www.java2s.com/style/demo/Google-Chrome.png"> <a href="#">Lorem ipsum </a> </li> 
    <li> <img src="https://www.java2s.com/style/demo/Google-Chrome.png"> <a href="#">Lorem ipsum </a> </li> 
   </ul> 
  </div>  
 </body>
</html>

Related Tutorials