answersLogoWhite

0

HTML Code for Images

[image_source]

src is short for 'source.' If your image was in a directory called 'images' with a filename of screenshot.jpg, you would replace [image_location] with images/screenshot.jpg

[hover_text]

This is an optional attribute that displays text when a user puts his or her cursor over the image.

[alternate_text]

This is also optional. If a user has images turned of through their web browser settings, this text is what shows up in place of the image.

So when it's all said and done, it should look like this (remove the spaces before "img" and after the "/"):

< img src="[image_source]" title="[hover_text]" alt="[alternate_text]" / >

Height and width attributes are also available for images, but it's best not to use them, as that will force the image to be a certain size, which can lead to distortion of the image. If you need an image to be a certain size, best practice is to edit the image directly in an image editing program (Photoshop, The Gimp, etc.) if you are able to do so.

HTML Image Link Code:

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

How do you get a picture code for HTML?

img scr="YOUR PICTURE LOCATION.gif"&gt;


How do you find the HTML code of a picture?

Pictures don't come in HTML


How do you turn pictures into an HTML code?

&lt;img src="link for picture"&gt;


What is the HTML code to add a border to a picture?

For example this is the HTML code: &lt;body&gt; &lt;div id="picture"&gt; &lt;img src="images/image.jpg" alt="this is image" /&gt; &lt;/div&gt; &lt;/body&gt; In CSS: #picture img { border:2px solid #000066; }


You want a picture to repeat down what is HTML code?

You need to use HTML and Styles to do it. For the Pictures/YourImage.gif part you can put in your own code for your picture.Your text


How do you code a flv in a picture on a HTML website?

you &lt;embed&gt; the flash video by importing.


How do you upload a picture on tinier me?

You don't really "upload", you use HTML. i prefer this: &lt;img src=IMAGE URL HERE&gt; any image is accepted as long as the URL is a direct link to the photo or picture this can only be on profiles


How do you insert a picture from netbeans 6.5?

By using the html code we can able to insert the imagein netbeans.


How come i can't see the picture i added to my presentation on howrse?

You need to use HTML mode - go to profile &gt; modify &gt; HTML mode &gt; paste in the HTML code &gt; click enter.


What is the HTML code for linking a picture to a video?

You can put an anchor tag on the picture. It could be done like &lt;a href="video.mp4"&gt;&lt;img&gt;&lt;/img&gt;&lt;/a&gt;.


How do you send picture from on site to another site?

Just copy the URL or HTML code of the picture from one site and paste it in the other site.....


Html picture code for Repeat down not across?

Set the background-repeat value to "repeat-y".Example: