Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

how to write text next to image in html

<div style="display:inline-block;vertical-align:top;">
<img src="https://loremflickr.com/320/240" alt="img"/>
</div>
<div style="display:inline-block;">
<p>
Here goes the text content.
</p>
</div>
Source by www.delftstack.com #
 
PREVIOUS NEXT
Tagged: #write #text #image #html
ADD COMMENT
Topic
Name
2+6 =