HTML-Booklet

A HTML marquee is a look over a bit of text shown either on a level plane across or vertically down your website page contingent upon the settings. This is made by utilizing HTML <marquees> tag. 

Note − The <marquee> tag censured in HTML5. Try not to utilize this component, rather you can utilize JavaScript and CSS to make such impacts. 

Sentence structure 

A basic sentence structure to utilize HTML <marquee> tag is as per the following.

<marquee attribute_name=”attribute_value”….more attributes

At least one lines or instant message or picture 

</marquee> 

The <marquee> Tag Attributes 

Following is the rundown of significant qualities which can be utilized with the <marquee> tag. 

stature This indicates the tallness of the marquee. This can be a worth like 10 or 20% and so on. 

width-This indicates the width of the marquee. This can be a worth like 10 or 20% and so forth. 

heading-This indicates the course where marquee should scroll. This can be a worth like up, down, left or right. 

conduct-This determines the sort of looking of the marquee. This can have a worth like parchment, slide and substitute. 

scrolldelay-This determines to what extent to postpone between each bounce. This will have a worth like 10 and so forth. 

circle-This determines how frequently to circle. The default esteem is INFINITE, which implies that the marquee circles interminably. 

vspace-This determines vertical space around the marquee. This can be a worth like 10 or 20% and so on. 

hspace-This determines even space around the marquee. This can be a worth like 10 or 20% and so on. 

bgcolor-This indicates foundation shading as far as shading name or shading hex worth.

Examples – 1

<!DOCTYPE html>
<html>
<head>
<title>HTML marquee Tag</title>
</head>
<body>
<marquee>This is example of marquee</marquee>
</body>
</html>

Examples – 2

<!DOCTYPE html>
<html>
<head>
<title>HTML marquee Tag</title>
</head>
<body>
<marquee width=”50%”>This example  50% width</marquee>   
</body>
</html>

Examples – 3

<!DOCTYPE html>
<html>
<head>
<title>HTML marquee Tag</title>
</head>
<body>
<marquee direction=”right”>This is marquee text</marquee>   
</body>
</html>

Examples – 4

<!DOCTYPE html>
<html>
<head>
<title>HTML marquee Tag</title>
</head>
<body>
<marquee direction=”up”>This is marquee text</marquee>   
</body>
</html>

 

Share