I need to put a text on top of an image without CSS or JS

Is there a way I can place the text <p> on top of the image? without using css or javascript. just plain html. The reason being is this technique or approach will be use on older phones that do not support css or javascript. It also does not support "background" attribute.

http://jsbin.com/aroxit/2

Answers


CSS is the only way to do this. No other HTML options give you the ability to position items on top of each other. The only other alternative is to set the text server-side and re-generate the image with the text in the image, just like icanhascheezburger does.


Need Your Help

How to change the default text in Search Bar in IOS?

ios text uisearchbar

HI I develop an application in IOS and I meet a problem that I want to change the default text which is "search" in search bar to "Key in video title to search". How to do it ? Please help me Thank...

What is the best workaround for the WCF client `using` block issue?

c# vb.net wcf using wcf-client

I like instantiating my WCF service clients within a using block as it's pretty much the standard way to use resources that implement IDisposable: