I'll be more clear. I do not want to use the standard img src to link to the image file. I want to embed the image file as data in the HTML so that no external files must be used.
2006-08-21
08:21:48
·
9 answers
·
asked by
Anonymous
in
Computers & Internet
➔ Programming & Design
Of course you can embed data in HTML. For example, the data: tag can be used to embed the data directly into the HTML source.
Please don't answer the question if you know less about the answer than I do.
2006-08-21
08:28:43 ·
update #1
It doesn't matter that HTML is "just text". Of course text can portray data, for example the bit contents of an image file. I just need the instructions how to do this.
2006-08-21
08:30:01 ·
update #2
if you are talking about ascii images you need to create those by hand. Standard GIF and JPEG images (and the other types) cannot be "embedded" in HTML using the HTML standard. Some browsers may be able to do funky things, but you cannot include binary data in standard text html, its a simple problem of MIME types.
2006-08-21 10:26:56
·
answer #1
·
answered by John J 6
·
0⤊
0⤋
Other than the old trick of creating an image using standard characters, you are pretty much out of luck. Even if this was possible, I can think of half a dozen reasons why you would not want to do it.
2006-08-21 15:32:52
·
answer #2
·
answered by Interested Dude 7
·
1⤊
0⤋
You can use CSS with divs to create simple images. Think of them like tanagrams. Here is an example: http://www.superflippy.net/temp/slanty2.html
2006-08-21 15:47:27
·
answer #3
·
answered by Super Flippy 2
·
0⤊
0⤋
That's not how HTML works. HTML is just text - you can't embed anything in it. You can only link.
EDIT
Ok Einstein, you've got ten people telling you that it either can't be done or there's no reason to. Now's the time to either research it yourself or stfu.
2006-08-21 15:26:46
·
answer #4
·
answered by Anonymous
·
1⤊
2⤋
Not sure if this is what you want but.. you can try using
look up background image on yahoo.
2006-08-21 15:30:20
·
answer #5
·
answered by jason m 1
·
0⤊
0⤋
You would have to use javascript to draw the image. It could be done, but yuck!
2006-08-21 15:30:23
·
answer #6
·
answered by lenny 7
·
0⤊
0⤋
insert webcomponent html, then enter code.
2006-08-21 15:27:38
·
answer #7
·
answered by Mama R 5
·
0⤊
0⤋
html doesn't work that way, sorry.
2006-08-21 15:28:10
·
answer #8
·
answered by WhiteHat 6
·
2⤊
1⤋
....r u making a new program???? hit me back when u got it going!
2006-08-21 15:30:35
·
answer #9
·
answered by babiboi013 2
·
0⤊
2⤋