0

Write on image in HTML and css ?

How can I write something on image in HTML and css ?

11th Sep 2018, 10:47 AM
Mohammed Ali Zedan
Mohammed Ali Zedan - avatar
2 Answers
+ 3
I guess have a HTML text object then use CSS to position it over the image. Or simply modify the image directly with your writing
11th Sep 2018, 11:06 AM
Ahri Fox
Ahri Fox - avatar
+ 3
First, create a container for image and text. Then use CSS to adjust text's position. HTML: <div id="container"> <img src="imageURL" /> <p>Some Text</p> </div> CSS: #container, img, p{ position: relative; } p{ top: 50px; /* adjust if needed */ left: 50px; /* adjust if needed */ }
11th Sep 2018, 11:18 AM
Email Not Activated