Skip to main content

Command Palette

Search for a command to run...

I made a teleprompter using the <marquee> HTML tag

When you don't have gear, you get creative!

Published
3 min read
I made a teleprompter using the <marquee> HTML tag
A

👋 Kumusta! I'm a Filipina software engineer, speaker, published author of the book Coding for Kids: Python, and a LinkedIn Learning instructor who specializes in Cloud Development courses.

Currently, I'm also a Senior Developer Advocate for Cisco where I'm sharing how we're so much more than a network and infrastructure company!

Perhaps most important, however, is that I spend way too much money on desserts and ungodly amounts of time playing Cyberpunk 2077!

Bonus Fun Facts: 🕹 Favorite PC/video games: Age of Empires II, RollerCoaster Tycoon 2, and the Borderlands series 💄 Favorite lipstick color is Bite's Aubergine 🎬 Favorite movies are Inception (really, anything be Christopher Nolan) and The Matrix.

While filming the first episode of my $quickbytes series, I realized something: it was SUPER obvious when I would look away from the camera to read my script! I had it open on another monitor; just a Google Doc in a large font. I thought I could film while manually advancing my script; nope. That was way too complicated!

As I became more frustrated with not being able to read my script and keep my eyes on the camera, a genius idea came to my head: why not use the <marquee> HTML tag?!

I quickly opened up a W3schools TryIt Editor, adjusted the font and speed settings, and BAM! Instant Teleprompter!

Screenshot of a W3schools TryIt Editor showing marquee tag code on the left and a teleprompter on the right If you want to try it out yourself, I encourage you to do so!

Here's all the code it takes (yes, really):

<marquee direction="up" scrollamount="13" height="100%" width="100%" style="font-size: 100px;" >
Here is a makeshift teleprompter. 
I've set it to be slow enough to read, but fast enough to keep pace with how I speak.
This helped me when I needed to record a video!
</marquee>

direction sets the scroll direction of the marquee. I set it to up, which is the easiest for me to read, but you can also set it to down, left, or right.

scrollamount sets the speed of the scroll. I had to experiment and find the right speed: fast enough so it sounds natural when filming, but slow enough that I don't get overwhelmed! For me, that number was 13. I encourage you to play around and find the right speed for you!

That's really it in terms of <marquee>-specific attributes. The remaining height, width, and inline style was just to make my script legible to read on my other monitor! And between the <marquee> tags, I pasted in my script.

I got so excited about this silly solution, I shared it on twitter:

Of course, as some have brought up, please remember that the <marquee> tag has been deprecated and is not recommended for use in production! But in the context of this sandbox and for this purpose, the <marquee> HTML tag saved me!

In case you're curious, this is the video I filmed using this teleprompter:

What do you think?

Anyway, thanks for reading this quick post. Just wanted to share this silly, but genius solution that we as devs sometimes come up with every now and then!


Thank you!

Thank you so much for taking the time to read through my article. If you enjoyed it or have a question, please let me know in a comment below. Or even better, if you feel this article would be helpful to other devs, please share it/tweet it to spread the knowledge and love. ♥️

For more from me, be sure to follow my blog! And to see what I'm currently up to, follow me on Twitter!

Comments (10)

Join the discussion
T
takla2y ago

+1 Sub on the channel, great video, beautiful illustrations.... I kept staring at them throughout the video and I loved them. And thanks for sharing this... I will be needing one soon when I go live on youtube

A

The HTML <marquee> tag defines a scrolling text area in the HTML document that moves across the page in a horizontal or vertical direction. By default, text found within the <marquee> tag will scroll from right to left.

K
Kare Hhai3y ago

Awesome! Thanks for watching and subscribing. Looking forward to sharing the rest of the episodes on the Aggregation Pipeline. get-mobdro.com

K
Kare Hhai3y ago

This is a very good use case of the marquee element, thanks for sharing.

K
kosisvid3y ago

I became more frustrated with not being able to read my script and keep my eyes on the camera. vidmate online saveinsta

S

Yep, this is definitely a clever way to go about doing it. Still it's limited to constant reading speed and sometimes you'd want to go about adjusting your reading speed based on the video or even halt it for a while.

E

I use youtube as a creator too and I have to say this is an excellent idea!

2
P

+1 Sub on the channel, great video, beautiful illustrations.... I kept staring at them throughout the video and I loved them. And thanks for sharing this... I will be needing one soon when I go live on youtube

3
A

Awesome! Thanks for watching and subscribing. Looking forward to sharing the rest of the episodes on the Aggregation Pipeline.

And yes, glad the teleprompter is useful for you :)

S

It is great to use the marquee tag but it is deprecated as listed in Marquee MDN docs, Adrienne Tacke do you think we can still use it for our projects?

A

Hi Sridhar,

Yup, it's deprecated and not recommended for use in production, just like my disclaimer at the bottom.

F

This is a very good use case of the marquee element, thanks for sharing.

Btw, the video is great, it didn't seem like you were reading at all.

2
A

Thank you! And thanks for watching the video too! I'm glad it was useful :)