HTML5 will not support scrolling text (marquee), marquee is obsolete. There is no marquee element defined since HTML 4.01 specification.
This article will answer how to make animated scrolling text within HTML5.
One way is to use jQuery marquee plugin. In next section you will find simple guide how to make animated scrolling text effect like marquee with jQuery.
Animated scrolling text with jQuery Demo:
Animated scrolling text with jQuery code:
So to have scrolling text effect in HTML5 you need to:
- reference on jquery-1.3.2.min.js and jquery.marquee.js files
- add a marquee HTML element
In Marquee HTML element you can adjust attributes such as:
- direction - left, right, up and down
- scrollamount - speed of scrolling
- behaviour - such as slide, scroll and alternate
You can find jquery.marquee.js file.
In the end you have marquee like animated scrolling effect which you can use in HTML5.