0 votes
124 views
in HTML by (3.5k points)
edited

How to write text on image in HTML?

1 Answer

0 votes
by (3.5k points)
edited

<div class="container">

  <img src="img_snow.jpg" alt="Snow" style="width:100%;">

  <div class="bottom-left">Left</div>

  <div class="top-left">Up Left</div>

  <div class="top-right">Up Right</div>

  <div class="bottom-right"> Right</div>

  <div class="centered">Middle</div>

</div>

Related questions

0 votes
1 answer 164 views
asked Jun 24, 2023 in HTML by Doubtly (98.9k points)
0 votes
1 answer 137 views
asked Jun 24, 2023 in HTML by Doubtly (98.9k points)
0 votes
1 answer 94 views
asked Jun 12, 2023 in HTML by radhe (2.2k points)
0 votes
1 answer 127 views
asked Aug 19, 2022 in HTML by codelikepro (3.5k points)
0 votes
1 answer 98 views
asked Aug 19, 2022 in HTML by codelikepro (3.5k points)
0 votes
1 answer 125 views
asked Aug 19, 2022 in HTML by codelikepro (3.5k points)

Doubtly is an online community for engineering students, offering:

  • Free viva questions PDFs
  • Previous year question papers (PYQs)
  • Academic doubt solutions
  • Expert-guided solutions

Get the pro version for free by logging in!

5.7k questions

5.1k answers

108 comments

561 users

...