473,770 Members | 1,645 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

html validator needs glasses?

Hi, i tried to validate a html doc, but the validator complained without
reason. This is an excerpt of the validation results:

Below are the results of attempting to parse this document with an SGML
parser.

1.. Line 24, column 19: there is no attribute "SRC" (explain...).
<embed src="firesite/img/flashtest.swf" quality="high"
pluginspage="ht tp
^2.. Line 24, column 56: there is no attribute
"QUALITY" (explain...).
..."firesite/img/flashtest.swf" quality="high"
pluginspage="ht tp://www.macromedi.. .
^Source Listing
Below is the source input I used for this validation:

1: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
.... 24: <embed src="firesite/img/flashtest.swf" quality="high"
pluginspage="ht tp://www.macromedia. com/go/getflashplayer"
type="applicati on/x-shockwave-flash" width="550"
height="400"></embed></object></td>
....The rest of the tags match, and dreamweaver doesn't find anything to
clean up. I even included spaces before and after the equation.Where did I
go wrong?dfirefire
Jul 20 '05 #1
4 1783
In article <bn**********@n ews.worldonline .be>,
dfirefire <df*******@tisc ali.be> wrote:
Hi, i tried to validate a html doc, but the validator complained without
reason.
Why do you believe that the validator did not have a reason to complain?
1: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
... 24: <embed src="firesite/img/flashtest.swf" quality="high"


There is no <embed> in the HTML 4.01 Specification.

< http://www.w3.org/TR/html401/ >

--
Göran Larsson http://www.mitt-eget.com/
Jul 20 '05 #2
In article <bn**********@n ews.worldonline .be>, one of infinite monkeys
at the keyboard of "dfirefire" <df*******@tisc ali.be> wrote:
Hi, i tried to validate a html doc, but the validator complained without
reason. This is an excerpt of the validation results:
Nope, it complained with good reason: you have an element "<embed>"
that isn't defined in HTML.

Unfortunately it complained first about the attributes to the
bogus element, which evidently confused you. Maybe you'd fine
Page Valet's "visual" view clearer?
...The rest of the tags match, and dreamweaver doesn't find anything to
clean up.


This kind of thing is why you need so much more expertise to generate
anything half-decent with Dreamweaver than with vi or emacs and
standard tools.

--
Nick Kew

In urgent need of paying work - see http://www.webthing.com/~nick/cv.html
Jul 20 '05 #3
"dfirefire" <df*******@tisc ali.be> wrote:
Hi, i tried to validate a html doc,
Why?
but the validator complained without reason.
The validator did exactly what you asked it to do. The problem is that
you didn't realize what you asked for. See
http://www.cs.tut.fi/~jkorpela/html/validation.html
This is an excerpt of the validation results:
In future, don't forget to post the URL. This time, things are pretty
clear, by accident:
^2.. Line 24, column 56: there is no attribute
"QUALITY" (explain...).
You're not telling us all the facts, are you? That's just one part of
the report, and the less relevant one.
and dreamweaver doesn't find anything to clean up.
Blame Can^H^H^HDreamW eaver.
I even included
spaces before and after the equation.Where did I go wrong?dfirefire


In not studying what validation is before trying to validate.

If you use <embed>, the real problem is not validation. You could write
a DTD of your own, but why? The real problem is that <embed> is a
potential source of confusion, inaccessibility , and poor usability.
Whether this materializes has really nothing to do with validation.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html

Jul 20 '05 #4
dfirefire wrote:
1.. Line 24, column 19: there is no attribute "SRC" (explain...).
<embed src="firesite/img/flashtest.swf" quality="high"


http://www.alistapart.com/articles/flashsatay/

--
Spartanicus
Jul 20 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

195
8626
by: Torbjørn Pettersen | last post by:
As you might have noticed I'm trying to clean up my web site's HTML code. The way I do it is simply more or less redoing to complete site, testing it on a web server I have set up on my local network. I have downloaded, and installed CSE HTML Validator Pro, but I don't get the same results with that as I do with the online validator on W3.org. And I can't upload files to W3.org either, due to all the ASP code I use.
22
2579
by: Jeff Parker | last post by:
I have a web application that for the real estate industry. Here is one of the sites using said application. http://www.wellsre.com As you can see if you click this link here http://validator.w3.org/check?uri=http%3A%2F%2Fwww.wellsre.com This site validates just fine using the w3 validator
22
5740
by: Trevor Orton | last post by:
Hello, I'm having a slight problem using the W3C html validator and I've reviewed the FAQ's with no luck so hopefully someone here would be kind enough to point me in the right direction. I recently validated my site's css and the bulk of the html pages via the W3C validator but was forced to use the file upload option because the 'Validate by URL' option returns the following error: >>Sorry, I am unable to validate this document because...
16
2057
by: graham.reeds | last post by:
I am updating a website that uses a countdown script embedded on the page. When the page is served the var's are set to how long the countdown has left in minutes and seconds, but the rest of the script is left untouched. However I want to take the script out of the page and have it as a seperate file that can be cached, reducing serving costs - the page gets hit a couple of thousand times per day, sometimes as high a 5K, so any...
40
5617
by: VK | last post by:
Hi, After the response on my request from W3C I'm still unclear about Tidy vs. Validator discrepansies. That started with <IFRAME> issue, but there is more as I know. Anyway, this very basic HTML page: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN" "http://www.w3.org/TR/html401/strict.dtd"> <html> <head>
78
4921
by: Robert Baer | last post by:
The homepage i have had up and seemingly working is: http://oil4lessllc.com/ However, the validator has so many complaints, and being so incompetent, i have no clue as to how to fix it all. Would the use of Dreamweaver be of great help?
6
7866
by: Rolf Welskes | last post by:
Hello, if I have for example: <table style="width: 100%; height: 100%;" border="1"> <tr> <td style="width: 100px">k </td> <td style="width: 100px">k </td> </tr>
2
4379
by: Slain | last post by:
I have a big list of HTML files, which need to be updated with a common text. <script language=JavaScript src="./highlight.js"></script> I need to add the above line in each of the html files, before the text "<\head>". All the HTML files have this text and I think some kind of search on this string and either replacing "</head>" with the
12
2593
by: Trish | last post by:
I just had a bad experience using MS Word as an HTML editor. It bloated more than 200% so I could barely recognize the essential statements; and it introduced more than 14,000 errors. Also, although it displayed fine in Firefox, it was unintelligible to IE. I spent the day trying to reduce the errors to the point wherel HTML Tidy could finish a pass without aborting. Finally I succeeded. No errors. It displays fine in Firefox & IE. ...
0
9595
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9432
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10008
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7420
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6682
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5313
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5454
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3974
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2822
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.