In Association with Amazon.in   Flipkart

Tuesday, December 4, 2012

HTML Image And Marquee Tags Example With Output

<body>
<p><strong>Example Image Tag With No CSS Float Style:</strong></p>
<img src="images.jpg" alt="Rose Image" width="400" height="250" border="8" vspace="20" hspace="20"/>
<br />
<hr />
<br />
<p><strong>Example Image Tag With CSS Float Style:</strong></p>
<img src="images.jpg" alt="Rose Image" width="400" height="250" border="8" vspace="20" hspace="20" style="float:right" />
<p style="background-color:#FFFFCC; padding:12px; width:200px; height:auto">
<h2 align="center">IT Job Careers</h2>
<hr/>
<a href="page1.html#t1">HTML</a>
<br>
<a href="page2.html#t2">CSS</a>
<br>
<a href="page3.html#t3">JS</a>
<br>
<a href="page4.html#t4">PHP</a>
</p>
<hr />
<p><strong>Example For Marquee Tag:</strong></p>
<marquee behavior="alternate" width="400" height="250" bgcolor="#CCFF99" direction="up" loop="10" scrollamount="4" scrolldelay="600">
<pre>
HTML ----> Hyper Text Markup Language
CSS ----> Cascading Style Sheet
JS ----> Java Script
XML ----> Extensible Markup Language
PHP ----> Hypertext PreProcessor
</pre>
<img src="images.jpg" alt="Rose Image" width="400" height="200" border="8" vspace="20" hspace="20" />
</marquee>
</body>

Output:-

Example Image Tag With No CSS Float Style:
Rose Image


Example Image Tag With CSS Float Style:
Rose Image

IT Job Careers


HTML
CSS
JS
PHP

Example For Marquee Tag:
HTML ----> Hyper Text Markup Language
CSS ----> Cascading Style Sheet
JS ----> Java Script
XML ----> Extensible Markup Language
PHP ----> Hypertext PreProcessor
Rose Image

No comments:

Post a Comment


Related Posts Plugin for WordPress, Blogger...