How to add image in html ?

Started by Idgold, April 02, 2015, 07:27:22 AM


janpaul

<html>
<body>

<h2>Spectacular Mountain</h2>
<img src="pic_mountain.jpg" alt="Mountain View" style="width:304px;height:228px;">

</body>
</html>

incomecracker

<img src="pic_mountain.jpg" alt="Mountain View" style="width:304px;height:228px;"> use this coding to add image

Erick_Lopez

Learn more HTML code here:
https://www.w3schools.com/
Your online Slot Machines here at 12BET Mobile.

michral86

images are defined with the <img> tag.
The <img> tag is empty, it contains attributes only, and does not have a closing tag.

You can insert image using Below code:

<img src="img_chania.jpg" alt="Flowers in Chania">
The value of the alt attribute should describe the image

sirishasiri

Adding images to your website or social networking profile is a great way to spruce up your page. The HTML code for adding images is straightforward, and often one of the first lessons for an HTML

neosphere

<img src="Image1.png" alt="books img" width="128" height="128">

Fallow This HTML Tag To Adding Img. In HTML Page

Thank You..!!
Neosphere is an Industry standard computer training institute in Nepal.

sophia009

Hi

Inserting Images in HTML Documents
The web is not just about text, its multimedia and multimedia features of HTML allow you to include images, audio clips, video clips and other multimedia elements in web pages.

The <img> tag is used to insert images in HTML documents. It is an empty element and contains attributes only. The syntax of <img> tag can be given with:

<img src="url" alt="some_text">

The following example inserts three images on the web page:

ExampleTry this code ยป
<img src="kites.jpg" alt="Flying Kites">
<img src="sky.jpg" alt="Cloudy Sky">
<img src="balloons.jpg" alt="Hot Air Balloons">

Hope it helps you.

lollipopp

You can add the images by following code <img src="pulpitrock.jpg" alt="name that you want to give">, This code can help you with all type of images.

SarahWilding

You can add image by follow html tag
<img src="url or image path" alt="some_text">

gracethemes

<html>
<body>

<h2>Spectacular Mountain</h2>
<img src="pic_mountain.jpg" alt="Mountain View" style="width:304px;height:228px;">

</body>
</html>
Blog WordPress themes free download professional seem to cater to the requirements of bloggers

agustina

< img src="Rose.jpg" alt="Flower" style="width:500px;height:600px;">
Here,
<img> is a lement to define an image
src is attribute to define an image url
Rose.jpg is a image url
alt="Flower" It define image name
style="width:500px;height:600px;" it defines the image width and height