Live data from Hacker News

Marquee HTML Element

developer.mozilla.org

1–10 of 30 posts

Re: Marquee HTML Element

#2
In Safari, "This text will bounce" (two marquees in orthogonal directions, both with behavior="alternate") only moves left-to-right - it seems the inner marquee cancels the outer one. In Chrome it moves diagonally and bounces in both directions like an old-school screen saver.

The article doesn't clarify whether this is intended behavior, should it?

Re: Marquee HTML Element

#4
Used just a couple weeks ago to simulate a scrolling text screensaver for use as a video backdrop.

Actually used the linked page as a reference and laughed a bit at the "truespeed" attribute.

Re: Marquee HTML Element

#5
I recently used some marque elements for taking up space.

One thing I really liked about them was the 'truespeed' attribute.

I mean, name a cool sounding attribute that you use every day.. you can't.

Re: Marquee HTML Element

#6
post #4

Used just a couple weeks ago to simulate a scrolling text screensaver for use as a video backdrop. Actually used the linked page as a reference and laughed a bit at the "truespeed" attribute.

I use it when testing for XSS. It shows me where the dirty text is being added to the page and it can be very amusing when nested.

Re: Marquee HTML Element

#9
post #7
post #3

Still works on iOS 13. It’s quite reassuring that after all the posturing about obsolescence and depreciations it’s still there.

Deprecation, not depreciation

Well, I guess one could make the argument that "" isn't as valuable as it used to be. But, of course, you could also make the argument that it has the same low value that it always had. :-D

Either way I'm sure "all the posturing" was actually about deprecation.

Re: Marquee HTML Element

#10
There isn't a good argument for considering marquee deprecated anymore. Not when a element is being considered[0]. So I'd use it whenever I want a marquee.

After all, and are both shorthands for stuff that could be implemented in CSS/JS - except marquee is well supported, well specified, and more semantically different than other elements compared to (which is pretty similar to and arguably [1]).

[0] https://github.com/jackbsteinberg/std-toast

[1] https://www.scottohara.me/blog/2019/07/10/the-output-element...

Post reply on HN