Search This Blog

Showing posts with label HTML Images Tags. Show all posts
Showing posts with label HTML Images Tags. Show all posts

HTML Images Tag With Border Attribute Example

HTML Images Tag With Border Attribute Example :
<!doctype html>
<html>
<head>
<title> www.kod4u.blogspot.com </title>
</head>
<body>
<h1> Images Tag With Border Attribute Example </h1>

<img src="Img/img3.png" border="3"/>

<p> Here we Set Image Border </p>

</body>
</html>
OUTPUT
HTML Images Tag With Border Attribute Example

HTML Images Tag With Vspace Attribute Example

HTML Images Tag With Vspace Attribute Example :
<!doctype html>
<html>
<head>
<title> www.kod4u.blogspot.com </title>
</head>
<body>
<h1> Images Tag With Vspace Attribute Example </h1>

<img src="Img\img.png" Vspace="100"/>
</body>
</html>
OUTPUT
HTML Images Tag With Vspace Attribute Example

HTML Images Tag With Hspace Attribute Example

HTML Images Tag With Hspace Attribute Example :
<!doctype html>
<html>
<head>
<title> www.kod4u.blogspot.com </title>
</head>
<body>

<h1> Images Tag With Hspace Attribute Example </h1>

<img src="Img\img.png" hspace="100"/>
</body>
</html>
OUTPUT
HTML Images Tag With Hspace Attribute Example

HTML Images Tag With Alt Attribute Example

HTML Images Tag With Alt Attribute Example :
<!doctype html>
<html>
<head>
<title> www.kod4u.blogspot.com </title>
</head>
<body>
<h1> Images Tag With Alt Attribute Example </h1>
<p> < img > tag used to when you want to insert a image in your Web Page. </p>
<img src="Img\img2.gif" alt="pic can't display"/>

</body>
</html>
OUTPUT
HTML Images Tag With Alt Attribute Example

HTML Images Tag With Align Attribute Example

HTML Images Tag With Align Attribute Example :
<!doctype html>
<html>
<head>
<title> www.kod4u.blogspot.com </title>
</head>
<body>
<h1> Images Tag With Align Attribute Example </h1>

<img src="Img/img2.gif" align="right" />
<p> Here we Set Image Alignment in img tag </p>

</body>
</html>
OUTPUT
HTML Images Tag With Align Attribute Example

HTML Images Tag With Height Attribute Example

HTML Images Tag With Height Attribute Example :
<!doctype html>
<html>
<head>
<title> www.kod4u.blogspot.com </title>
</head>
<body>

<h1> Images Tag With Height Attribute Example </h1>

<img src="Img/img2.gif" height="150" />
<p> Here we add height in img tag </p>

</body>
</html>
OUTPUT
HTML Images Tag With Height Attribute Example

HTML Images Tag With width Attribute Example

HTML Images Tag With width Attribute Example :
<!doctype html>
<html>
<head>
<title> www.kod4u.blogspot.com </title>
</head>
<body>
<h1> Images Tag With width Attribute Example </h1>

<img src="Img/img2.gif" width="150" />
<p> Here we add width in img tag </p>

</body>
</html>
OUTPUT
HTML Images Tag With width Attribute Example

HTML Images Tag Example

HTML Images Tag Example :
<!doctype html>
<html>
<head>
<title> www.kod4u.blogspot.com </title>
</head>
<body>
<h1> Images Tag Example </h1>

<p>  < img > tag used to when you want to insert a image in your Web Page. </p>
<img src="Img\img2.gif"/>

</body>
</html>
OUTPUT
HTML Images Tag Example