Welcome to the Webmaster Forum.
Page 1 of 3 123 LastLast
Results 1 to 15 of 31
Like Tree5Likes

Thread: How to show a image in html page?

  1. #1
    Senior Member
    Join Date
    Aug 2013
    Posts
    200

    Exclamation How to show a image in html page?

    plz give some tag which is useful for showing image in html page?
    shaadisan likes this.

  2. #2
    Member
    Join Date
    Jul 2013
    Posts
    47

    Re: How to show a image in html page?

    Use the <img src="image.jpg">image name</img>
    shaadisan likes this.

  3. #3
    Senior Member
    Join Date
    Aug 2013
    Posts
    138

    Re: How to show a image in html page?

    Quote Originally Posted by irenejoshep View Post
    Use the <img src="image.jpg">image name</img>
    I don't think the above is right, use the below instead.
    Code:
    <img src="http://example.com/folder/image.format" alt="image1" width="400" height="400" />
    Note: I used an absolute url in the codes above. And the alt attribute holds the value of the alternate text to be displayed incase the image didn't load.
    Last edited by CyberGenius; 08-21-2013 at 04:02 AM.
    shaadisan likes this.

  4. #4
    Senior Member
    Join Date
    Sep 2013
    Location
    India
    Posts
    199
    <html>
    <title>
    image tag
    </title>
    <head>
    <body>
    <img src="boat.gif" alt="picture not found">
    </img>
    </body>
    <html>
    shaadisan likes this.

  5. #5
    Junior Member
    Join Date
    Jun 2013
    Posts
    18

    Re: How to show a image in html page?

    You don't need to put the width/height tags usually anymore, web-browsers can process that automatically, all you need is the img tag itself, which is:

    <img src="IMAGE URL HERE" alt="RANDOM NAME THAT SHOWS WHEN HOVERING OVER THE IMAGE" />

  6. #6
    Senior Member
    Join Date
    Feb 2013
    Posts
    310

    Re: How to show a image in html page?

    It's best practice to still use the height and width tags as much as possible. What will still sometimes happen is if there are no dimensions specified, the browser will collapse the layout if the image cannot load. However if there are dimensions specified and the image cannot load, the browser will at least hold the space for the image, not causing the layout to break.

  7. #7
    Member
    Join Date
    Nov 2013
    Posts
    36

    Re: How to show a image in html page?

    Please don't include the width and height attributes in an image tag. Doing this will force the image to display at that specific size, no matter what size device the page is being viewed on. Keep responsive design in mind. 400px X 400px is small on your widescreen monitor, and huge on your phone.

  8. #8
    Banned
    Join Date
    Dec 2013
    Posts
    86
    For show the image we use img tag for example:-
    <img="#">fd</img>

  9. #9
    Member
    Join Date
    Feb 2014
    Posts
    48

    Re: How to show a image in html page?

    Use the <img src="image.jpg">image name</img> in html page and run in browser....
    shaadisan likes this.

  10. #10
    Member
    Join Date
    Mar 2014
    Posts
    38

    Re: How to show a image in html page?

    We can show the image with the help of Img tag.for example <img src="#">

  11. #11
    Junior Member
    Join Date
    Feb 2014
    Posts
    26

    Re: How to show a image in html page?

    <img src="Please enter image url" alt="image name" />
    this is the code for inserting image

  12. #12
    Member
    Join Date
    Jun 2014
    Location
    Delhi
    Posts
    38

    Re: How to show a image in html page?

    The correct manner on showing an image in a web page is :
    <img src="img-url" alt="image text">

  13. #13
    Junior Member
    Join Date
    Jul 2014
    Posts
    12

    Re: How to show a image in html page?

    Use this:
    <img src="image.jpg" width="100px" height="100px" alt="image" />

  14. #14
    Junior Member
    Join Date
    Jan 2015
    Location
    uk and usa
    Posts
    16

    Re: How to show a image in html page?

    Use the <img src="image.jpg">image name</img> , some one use another tags in html 5

  15. #15
    Junior Member
    Join Date
    Sep 2014
    Posts
    24

    Re: How to show a image in html page?

    Use this theme was built in HTML&CSS3, you can freely display show images, slidehows you want, this is our responsive theme

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. Image Sharing
    By Michael in forum Social Media & Bookmarking Forums
    Replies: 28
    Last Post: 08-31-2016, 08:41 PM
  2. Image Verification
    By Tara in forum Problems & Issues
    Replies: 10
    Last Post: 09-05-2014, 08:00 AM
  3. Image Cherry
    By Michael in forum Affiliate Programs & Affiliate Marketing
    Replies: 1
    Last Post: 08-20-2014, 07:27 AM
  4. Image Cherry
    By Michael in forum Affiliate Programs & Affiliate Marketing
    Replies: 0
    Last Post: 07-02-2013, 07:46 AM
  5. Facebook Will Now Show Adchoices
    By Johnfraser in forum Facebook
    Replies: 1
    Last Post: 03-28-2013, 07:02 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Back to top

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178