Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Insert an Image into an HTML document

Posted on 2009-02-20
4
Medium Priority
?
1,053 Views
Last Modified: 2013-12-13
im having trouble getting this Image into my html document.
i would love for the image to be under, or next to the item i have in the ordered list, if that is possible. i have tried this in so many different ways and it is just not working.
i do have the HTML file and the image in the same folder.
the file is a GIF image and i have lowered the size of the file significantly since i started.
Any help is appreciated.

i put the image in several different places to test but none of them work on the final page.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<HTML>
<head>
<meta name="description" content="Useless and Useful Sites" />
<meta name="keywords" content="Recommend, useless" />
<meta name="author" content="Matthew Newman" />
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1" />
</head>
<TITLE>Useful and Useless Sites on The Internet</TITLE>
<BODY>
<A name = "top"></a>
<P>Table of Contents</P>
<Table CELLPADDING ="8" BORDER="3">
   <TR>
     <TD><A href ="#top">TOP</TD
   </TR>
</TABLE>
<CENTER><P><B><I><H1>I Recommend</H1></I></B></P></CENTER>
<OL>
   <LI><a href="http://www.wikipedia.org/">www.Wikipedia.org</A> This site has a lot of valuable information. I wouldnt recommend using it as a reference for a term paper, but it is a great place to look for information. There are a lot of useful links at the bottom of every wikipedia page that can actually be used a references. I use this site all the time as a "first stop".</LI>
<IMG SRC="C:\Users\Administrator\Documents\Sophomore\IS270\WEBSITE_FILES\Wikipedia1.GIF" WIDTH="50" HEIGHT="50">
</OL>
 
<IMG SRC="Wikipedia1.GIF">
<IMG SRC="C:\Users\Administrator\Documents\Sophomore\IS270\WEBSITE_FILES\Wikipedia1.GIF" WIDTH="50" HEIGHT="50">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
</BODY>
</HTML>

Open in new window

0
Comment
Question by:JordanMrazek
  • 2
  • 2
4 Comments
 
LVL 5

Accepted Solution

by:
agsapt earned 2000 total points
ID: 23698236


will search your wikipedia image from the same directory as your actual html page.




should be written like this:



and this will search the image file from the hard drive location on the local PC (the computer who opens this html page)
 
 
0
 

Author Comment

by:JordanMrazek
ID: 23698251
i have actually found out that mozilla firefox was having issues, when i switched to IE i got a red X.
ill try renaming the file but the html doc and the image file are in the same directory.
0
 

Author Comment

by:JordanMrazek
ID: 23698263
i am rather foolish.
i did not realize i had to hit SAVE AS not just SAVE.
the problem is resolved.
0
 
LVL 5

Expert Comment

by:agsapt
ID: 23698280
great then ...
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In real business world data are crucial and sometimes data are shared among different information systems. Hence, an agreeable file transfer protocol need to be established.
The title says it all. Writing any type of PHP Application or API code that provides high throughput, while under a heavy load, seems to be an arcane art form (Black Magic). This article aims to provide some general guidelines for producing this typ…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Suggested Courses

581 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question