HTML CSS examples for CSS Widget:Image Text Alignment
Images and anchor, apply alignment to link text
<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>