In HTML, how to use marquee tag

You might have seen, on web pages wherein text or any content scrolls on webpage left to right, top to bottom,etc… marquee HTML tag need to be used to achieve the same.

Below are attributes of HTML
direction – indicates direction of scroll
scrolldelay – by increasing the value, scrolling can be made slower, and vice versa
scrollamount – smoothness of scroll can be adjusted, by changing the value.

Below is an example of the same, please follow inline comments to change direction of scroll.

<html>
<head>
<title>HTML marquee Example</title>
</head>
<body>
<!--other values for direction are up,down,right,left-->
<marquee height="25%" direction="left" scrolldelay="5" scrollamount="8">
<img src="logos.JPG" >
This is an example of marquee<br>
line1<br>
line2<br>
line3<br></marquee>
</body>
</html>