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â€>