HTML MARQUEE
An HTML
marquee is a scrolling piece of text displayed either horizontally across or
vertically down your webpage depending on the settings. This is created by
using HTML <marquees> tag.
A simple
syntax to use HTML <marquee> tag is as follows:
<marquee
attribute_name="attribute_value"....more attributes>
One or more lines
or text message or image
</marquee>
Examples
<!DOCTYPE
html>
<html>
<head>
<title>HTML
marquee Tag</title>
</head>
<body>
<marquee>This
is basic example of marquee</marquee>
</body>
</html>
MARQUEE
Direction & Width
Examples
<!DOCTYPE
html>
<html>
<head>
<title>HTML
marquee Tag</title>
</head>
<body>
<marquee
width="50%">This example will take only 50% width</marquee>
<marquee
direction="right">This text will scroll from left to
right</marquee>
<marquee
direction="up">This text will scroll from bottom to
up</marquee>
</body>
</html>
No comments:
Post a Comment
Please do not enter any Link in the comment box.