Basimalla Sebastin
Basimalla Sebastin

Reputation: 1199

Image in Simple HTML

which is ideal place to place image in NEtbeans for HTML

enter code here

  <html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Android Stuff</title>
    </head>
    <body>
        <img src="WEB-INF/SC20111215-165000 (1).png" width="240" height="400" alt="SC20111215-   165000 (1)"/>

  </body>
<  /html>

Upvotes: 0

Views: 126

Answers (5)

ali
ali

Reputation: 124

<img alt=""  src="img/header960.png" align="center" >

Upvotes: 3

Ali Mohammadi
Ali Mohammadi

Reputation: 1324

<img src="test.png" width="240" height="400" alt="test">

see more Attribute in http://www.w3schools.com/tags/tag_img.asp

Upvotes: 0

Kishore Kumar
Kishore Kumar

Reputation: 12884

Try changing the name of the image and also its path if possible... Because in most cases these things makes trouble...

<img src="newimagenamewithoutspace.png" width="240" height="400" alt="newimagenamewithoutspace"/>

And if the image has been posted by a use from front end then try to change the image name in your backend code..

This should help you..

Vote up or accept if it works

Upvotes: 0

vikiiii
vikiiii

Reputation: 9476

Copy the image in the folder where the html file is present.

And change the html code to :

<img src="SC20111215-165000 (1).png" width="240" height="400"/>

Upvotes: 1

Hari viswadeep
Hari viswadeep

Reputation: 51

Normally this kind of issues occurs when

  1. Path given is wrong
  2. Name of image is wrong
  3. Extension of image file is wrong

Check the above possibilities. If these 3 are correctly given, then try with another image with simple name in same folder where the html file is present.

Upvotes: 0

Related Questions