How to Add Text in An Image
Sometimes we want to add text in the image, not below or above it. We can set the position, top, right, bottom, or left property or the text element. One important thing to keep in mind is that the we nee to add a some element to wrap around the target image and the text element we want to show in the image. Example and Code top-left: top: top-right: left: bottom-right: bottom: bottom-left: right: Apples <div style = "posotion:relative"> <img src = "something.jpg"> <div style = "position:absolute; bottom:0;left:45% ">some text</div> </div> How to Use Make sure the img tag and text div tag are wrap in a div tag. The wraper tag needs to have position: relative property, so that the text div can sit in it. Set the text div to position: absolute; and start defining the postion, left, top, right, or bottom until the text is at where you want it to be. One trick is to remember t...