Quizzes & Puzzles33 mins ago
webpage+graphics all in one htmlfile possible?
5 Answers
Is it possible to create a webpage that has a graphic in it and text and lines without having to link to those separate files...what I want is to have all the stuff in one file...so much easier for storing and sending....anyone got any suggestions?
Answers
Best Answer
No best answer has yet been selected by bluedolphin. Once a best answer has been selected, it will be shown here.
For more on marking an answer as the "Best Answer", please visit our FAQ.Short answer - no
The webpage may be written in several different formats, HTML, PHP, ASP for example but each file will only tell the browser what things (text etc) to display and how to display them. They can contain information on pictures and how to show them but can't contain the actual picture in the file so you'd still have to have a seperate file with the graphic in
Despite the thoroughly correct answer by iwbus , there is actually a way to present things that look like images purely through HTML. I found a program to do this, and when I get home I'll find it and tell you the name and where to find it.
Simply put, the program will examine the image file, then create an extremely complicated table, every cell one pixel in width and height), and change the cells background colour to the correct colour of the pixel from the image.
Simply put, the program will examine the image file, then create an extremely complicated table, every cell one pixel in width and height), and change the cells background colour to the correct colour of the pixel from the image.
Yes iwbus I tested the program some time ago and the filesize of the HTML was actually about ten times as big as the original image size. Also, with large images there is a huge amount of processing power needed, almost crashed my machine :-)
If you want to use it though, search on google for "image 2 html" or something like that, and you're bound to find something.
If you want to use it though, search on google for "image 2 html" or something like that, and you're bound to find something.
Related Questions
Sorry, we can't find any related questions. Try using the search bar at the top of the page to search for some keywords, or choose a topic and submit your own question.