0

hello every one first of all thanks to daniweb and all its members who alwasy helped me lot.

i am very beginner to html and started just 3 or 4 days ago and facing lots of problems
i am doing html by using internet explorer latest(8) and also on mozilla.

problem 1: i use <img src=""> to insert a image in page its finely working in internet explorer but not in mozilla below the coding.

<html>
<head>
<title>my name is Aman</title>
<img src="C:\Documents and Settings\aman rathi\Desktop\New Folder\anna.JPG">

problem 2: while coding if i close the notepad (where i am coding) and next time when i opened its source it shows read only file i can't edit that, for editing source i do all steps again which i did in begging for saving page.

please also suggest me any platform where i can practice easily.
help me

Edited by aman rathi: n/a

4
Contributors
4
Replies
5
Views
6 Years
Discussion Span
Last Post by aman rathi
1

Well first of all, if are going to post this up on the web, you can't have a image src as "C:\Documents and Settings\aman rathi\Desktop\New Folder\anna.JPG"

Second, you are missing your body and head tags, do this:

Replace:
<img src="C:\Documents and Settings\aman rathi\Desktop\New Folder\anna.JPG">

With this:
</head>
<body>
<img src="C:\Documents and Settings\aman rathi\Desktop\New Folder\anna.JPG" />
</body>
</html>

Third the latest version is IE9 and FF4

For your problem, I tried to replicate your error and if the code you posted is all the code you had, then the code I provided above will fix your error.

0

I agree to Sam, that you miss body tag. You need to use that. once you add body tag then this code work in both browser same way.

For second problem: i can easily edit the same notepad file.

1

I'm guessing here, but it sounds like your mozilla browser may be set to block images. Make sure about that and let us know!

As for notepad, if you right click on the file, and choose "open with" and then choose "notepad" does that solve the problem?

Edit: Also, the body tag thing as explained by the users above is very true!

Edited by Kraai: n/a

Votes + Comments
helped me lot
0

thanks a lot all of you.
special thanks to sam.

Edited by aman rathi: n/a

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.