How can I make marquee contents move to and fro ?
marquee tag is deprecated from html5. so, avoid using it. Instead use css! If you still want, just add attribute behavior="alternate" See my example: https://code.sololearn.com/WoXJdRYGmwKb/?ref=app How to do it in css: https://code.sololearn.com/Wj4YmESQlX2i/?ref=app https://code.sololearn.com/WkcDw2PKTbrx/?ref=app