Thursday, July 2, 2015

Image Without The img Tag

I had code that dynamically created an img. The code wouldn't work so I visited W3SCHOOLS and found that 'img' didn't work but "IMG" does.

Notice there is no img Tag.
There is a slight difference. The button is created first so it is displayed first but output is similar.
The file works the same.
This also works.

No comments:

Post a Comment