You are on page 1of 5

Image and Link Tags

<img src=“sample.jpg”>
<a href=“document.html”>Link to document</a>

Inserting space between two words


&nbsp
<h1>Home&nbspAbout us &nbsp Teacher</h1>
<html>
<body bgcolor="yellow">

<h1 align="center"><font color="red">Image</font></h1>

<p align="center"><img src="123.jpg" width=150 height 150></p>


<h1><a href="h.html">Link to document</a></h1>

</body>
</html>
The marquee tag, how do we use it.

From right to left.


<marquee>TEXT</marquee>
From left to right.
<marquee direction="right">TEXT</marquee>
Alternatively. With attribute behavior.
<marquee behavior="alternate">TEXT</marquee>
The bottom up
<marquee direction="up">TEXT</marquee>
From the top down.
<marquee direction="down">TEXT</marquee>
From the top down alternative.
<marquee direction="up" behavior="alternate"
style="height:100px">TEXT</marquee>
In a frame.
<marquee style="border:RED 3px
SOLID">TEXT</marquee>
Picture. 
<marquee>Some text here <img src=“image.jpg"
width="88" height="31”></marquee>

You might also like