Click here to Skip to main content
15,915,508 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Please help me with the html code of above question.
Posted

The only way to 'Show' text on an image is to set a text box with a background image and them type into that.
You can then save the contents of the text box and it's image separately and pull them together each time you need them.

There is no other way as HTML is not a graphics language.
 
Share this answer
 
Comments
Immaculate Perception 26-Jul-11 4:21am    
True, and about as near as he can get.
As some folks already said, it is not possible in HTML 4.0

But, if you are using HTML5, you can load the image into a canvas (using drawImage()), then draw text on the canvas (using fillText()).
 
Share this answer
 
If you are talking about adding text to an image file, then you can't: HTML does not have any image processing fucntions such as DrawString.

If you aren't, then what are you trying to achieve?
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900