Experts Opinion Poll

Posted on 2004-08-12
Medium Priority
Last Modified: 2012-06-21
Hello all!

I am simply looking for a bunch of opinions on a topic.  and that topic is......"Due to improvements in what browsers can handle, is the marquee tag acceptable to use?"

Personally, I use it to display a very small news ticker along the top of my site.  I have tested the marquee tag in IE6, Netscape 7.1, Firefox, Avant, and Opera, and it works in all of them.  When I first started coding HTML <marquee> was a huge no-no.  Whatre your thoughts now that it is handled by all major browsers?  Is it still a useless tag?  Should Javascript alternatives still be used?  

BTW, I do understand that marquee is not a part of the W3C standard for HTML or CSS, so we dont need to hear all your rantings and ravings about standards.  I'm simply asking if you feel it has now become useful since it enjoys cross-browser support.  Thanks!

I will split the points among all of those with good, insightful, valid answers.

Question by:flow79
  • 4
  • 3
  • 2
  • +4
LVL 36

Accepted Solution

Zyloch earned 336 total points
ID: 11787441

Sure, <marquee> is now a usable tag, but it will not validate. Also, Javascript allows for much more customization, and you can display other messages if Javascript is not available on a person's browser.

LVL 36

Expert Comment

ID: 11787488
In truth, I feel if you don't need it validated or whatever, and you're looking for simplicity, I'd say go with <marquee>. It's just that no one ever uses it anymore even if it works (half the world probably doesn't even think it still exists). When it first came out, there came the many Javascript ticker scrollers that were compatible with NS4 so they've stuck.

On thinking about it more deeply, the main thing I can see that Javascript tickers are better than marquees are the including of external documents in tickers. I can't tell you what a <marquee> has or doesn't have anymore--indeed, I remember using it only once, but if you want a vertical ticker, Javascript might be better

LVL 13

Author Comment

ID: 11787580
Zyloch - good points!

I agree that you have a bit more customization with JS, but I do not feel that it is easier to include external documents in JS.  I personally have my marquee display the news from a database I have built and access it using ASP.  It is very simple to loop through that day's news and display it in the marquee.  
7 new features that'll make your work life better

It’s our mission to create a product that solves the huge challenges you face at work every day. In case you missed it, here are 7 delightful things we've added recently to monday to make it even more awesome.

LVL 31

Assisted Solution

seanpowell earned 336 total points
ID: 11787591
If it's good enough for a teeshirt, it's good enough for your page :-)
LVL 36

Expert Comment

ID: 11787616
Only one thing to say:

Wow, I should buy one of those! I mean, if it helps fund Mozilla...
LVL 31

Expert Comment

ID: 11787619
And Mozilla IS trying to get it built in...
LVL 13

Author Comment

ID: 11787627
thats awesome sean!  lol - def a big fan - i may have to actually drop some bank to buy that shirt.!
LVL 27

Assisted Solution

Diablo84 earned 332 total points
ID: 11788199
My opinion of the marquee tag is simply, avoid it.

Its one thing saying its acceptable to use it because its supported by all of the major browsers now but you have to consider the environment it is going to be used in and its purpose.

In my experience every single site i have seen that uses a marquee doesn't really have a need for it, for example, displaying a welcome message or some equally unnecessary information. Further more it can result in making the page look tacky.

So, to summarise, if you have a specific requirement for a marquee containing text in your site that cannot be adequately displayed using an alternative method then use a marquee.

I'd like to put emphasis on the "my opinion" aspect of this post :)
LVL 53

Assisted Solution

COBOLdinosaur earned 332 total points
ID: 11789135
Three reasons I will not use marquee.  

Number one and most important: It is not in the standard, and therefore there is no guarantee of consistent implementation cross-browser or cross-version.

Number two. The only think more distracting and ugly is the old netscrap blink.

Number 3 it uses a few cpu cycles that could be donated to curing cancer.

I reason I might use it.  A client thinks it cool and I want theitr business.

LVL 14

Assisted Solution

Esopo earned 332 total points
ID: 11789483
>>Personally, I use it to display a very small news ticker along the top of my site.<<

I wouldn't use a marquee. Not that I care that much for standards saying it shouldn't be supported but never the less is, but because I don't like it and find no use for it other than annoying people.

If you are using marquee as a news ticker, I can understand how it is of value to you, but I would strongly suggest you move on to "better code" for news ticking. Here are a few examples:


I wrote some time ago a good one. Was looking for a ticker that would present several lines of news and scroll up/down to show some more. Since I never found it I coded myself but can't remember where I placed it (since never really used it). If you'd like I can look it up.

Best regards,


Assisted Solution

garethdart24 earned 332 total points
ID: 11790431
Not that I want to rant about standards, but I'd always go with the javascript option for scrolling some text rather than the marquee tag simply because it _isn't_ in any standards, even if it was guaranteed to work on all browsers and was easier than doing the equivalent coding.  What the internet badly, badly needs is a cross-browser standard that every browser adheres to in exactly the same way.  The sooner all web development languages are standardised, the happier we'll all be.  So, for this reason, I feel it's the duty of every web developer to discontinue the use of non standard compliant code, stick with what the W3C lays down, and include the W3C compliant link-images somewhere on their sites.  If we do that, hopefully the companies will start paying attention and we'll get our standards.  

LVL 13

Author Comment

ID: 11791867
very good points everyone (but enough about standards!!  :o)  lol  )   I will leave this open for a bit longer to get any more opinions from people.

BTW, if you want to see the news ticker I have created - here is the code:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<title>News Scroller</title>
<style type="text/css">
.holder {
      width: 325px;
      border: #000000 1px solid;
      font-size: 9pt;
      font-family: 'BankGothic LT BT', 'Dungeon', verdana;
      padding: 5px;
.marqueetitle {
      width: 325px;
      font-size: 10pt;
      font-family: 'BankGothic LT BT', 'Dungeon', verdana;
      padding-bottom: 2px;
      font-weight: bold;
a { color: #990000; }
<div class="marqueetitle">News Ticker</div>
<div class="holder">
<marquee scrolldelay="100" name="marq" id="marq" onMouseOver="this.stop();" onMouseOut="this.start();">
Dim dater
dater = FormatDatetime(date, vbshortdate)
Set oConnA=Server.CreateObject("ADODB.Connection")
oConnA.Open "DRIVER={Microsoft Access Driver (*.mdb)};" & "DBQ=c:\Inetpub\wwwroot\db1.mdb;"
SQLA="select ID, Title, News, URL, Date from News WHERE Date = #"&dater&"# ORDER BY ID ASC"
set inTableA = oConnA.execute(SQLA)
if inTableA.eof then
      response.write "No News Today"
while not inTableA.eof
response.write "("
response.write inTableA.fields("ID")
response.write ") "
response.write "<b>"
response.write inTableA.fields("Title")
response.write "</b> - "
response.write inTableA.fields("News")
response.write "... <a href="" "
response.write inTableA.fields("URL")
response.write """>[Read More]</a> "
response.write " "
response.write " "
response.write " "
end if

you will need to set up your db as follows:

TableName: News

FieldName         |              Type
ID                     |              Number
Title                  |              Text
News                 |              Memo
URL                   |              Text
Date                  |               Date/Time [Short Date Format]

Just to show you all what I'm working with
LVL 13

Author Comment

ID: 11795021
alright - well - thanks to all who commented.  Def good to get some opinions and such.  I will be splitting the points among all who commented.  Have a great day!

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

600 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question