Friday, November 19, 2010

What is the code to embed a picture into html?

What is the code to embed a picture into html? I would like to embed small pictures, how do I go about doing this? Please give me the code for it. What is the code to embed a picture into html?
If you want to make an image into a thumbnail, or small variations of the picture, you can resize them in a photo editing software.



Anyway the code for embedding an image to an html file is:



%26lt;img src=';filename'; height=';height_of_image'; width=';width_of_image'; alt=';text_shown_if_image_doesn't_load'; border=';numeric_value'; /%26gt;



Make sure that there is a space between the slash and the last quote. Additionally, the border attribute is used if you use the image as a link. What is the code to embed a picture into html?
%26lt;img src=';linktofile'; width=';width_size'; height=';height_size'; alt=';text_to_show_when_file_missing'; /%26gt;

No comments:

Post a Comment