Experts Opinion Poll

Posted on 2004-08-12
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 84 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.  
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

LVL 31

Assisted Solution

seanpowell earned 84 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 83 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 83 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 83 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 83 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Someone recently asked me about how to display a progress indicator on a page while an iframe is loading. And I remember when I first came across this myself. It was a bit tricky to get my head around, but really, it's very simple. The most impor…
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

821 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