This tag is used to insert a scrolling area of text on the screen. For this user needs to define width, Height, Background color, scrolling direction within scrolling area, font color, size and more formatting.

Syntax: -       <Marquee behavior= “Motion” Direction= “Motion” Height= “Pixel”

Width=“Pixel” bgcolor= “Color Name” Loop=“number” ScrollAmount=“Number”>

</Marquee>

v Behavior: - It defines the motion type of the text. The Value can be alternate.

v Background Color: - It defines the color name for rectangular shape.

v Height/ Width: - It defines the height and width.

v Loop: - It is used set the number of times the Marquee text scrolls its contents.

v Scroll Amount: - It defines the speed of the scrolling text.

Example: -  <Html>

<Head>

<Title> Marquee< /Title>

</Head>

<Body>

Ex.    <Marquee behavior=“Alternate” Direction=“Left”Height=“50”width=“50%”

bgcolor= “Red”><Font color=“White”Size=“7”Face=“Monotype Corsiva”>

Welcome to Quantum Computer Academy</Font></Marquee>

 

Ex.    <Marquee behavior=“Scroll” Direction=“Right”Height=“50”width=“50%”

bgcolor= “Blue”><Font color=“White”Size=“7”Face=“Monotype Corsiva”>

Welcome to Quantum Computer Academy</Font></Marquee>

 

Ex.    <Marquee behavior=“Slide” Direction=“Left”Height=“50”width=“50%”

bgcolor= “Green”><Font color=“White”Size=“7”Face=“Monotype Corsiva”>

Welcome to Quantum Computer Academy</Font></Marquee>

 

Ex.    <Marquee behavior=“Scroll” Direction=“UP”Height=“50”width=“50%”

bgcolor= “Black”><Font color=“White”Size=“7”Face=“Monotype Corsiva”>

Welcome to Quantum Computer Academy</Font></Marquee>

 

Ex.    <Marquee behavior=“Scroll” Direction=“Down”Height=“50”width=“50%”

bgcolor= “Red”><Font color=“White”Size=“7”Face=“Monotype Corsiva”>

Welcome to Quantum Computer Academy</Font></Marquee>

          </body> </html>

Image Tag: - It is an empty tag which used to specify the image path which you want to insert between HTML documents.

Syntax: -     <Img src= “path”>

Ex: -           < Img src= “C:WINDOWSWebWallpaperAzul.jpg”>

 

Color coding

Color Name

Color Code

Red

#FF0000

Green

#00FF00

Blue

#0000FF

White

#FFFFFF

Black

#000000

Gray

#808080

Dark Red

#800000

Dark Green

#008000

Dark Blue

#000080

Yellow

#FFFF00

Magenta

#FF00FF

Cyan

#00FFFF

Aquamarine

#70DB93

Backer’s Chocolate

#5C3317

Brass

#B5A642

Copper

#B87333

Pink

#FF6EC7

Orange

#FF7F00

Purple

#800080

Brown

#A52A2A

Light Yellow

#FFFFE0

 

Big Tag: - It is used to places the text in a big font.

Syntax: -     <Big>--------</big>

 

Small Tag: - It is used to Places the text in small font.

Syntax: -     <Small> ------------</Small>

 

Background sound: - It is used to play the audio song.

Syntax: -     <bgsound src= “Path”>

 

Video Sound: - It is used to play the Video song.

Syntax: -     <Img Dynsrc= “path”>