Here's a puzzle I can't figure out.
I visited the page http://validator.w3.org, and confirmed that it
validates itself.
Then I *saved* it to my docroot directory using my browser's save-as
function, and then tried to submit this saved page for validation.
Now it generates 17 errors, of the form:
end tag for "link" omitted, but OMITTAG NO was specified.
I can't understand why the saved version of the same page produces
this error. The page I saved can be seen here: http://www.panix.com/~kynn/v/
As you can see, it looks pretty much the same as the original.
I've also compared the source for both pages (using the browser's
show-source command), and I can't see any significant difference.
What's going on?
OK, here's a second question, a more important one, in a way. I
have 3 books on HTML, and not one of them has helped me at all with
this question. There are a zillion books on HTML in the market.
Among these, which one would have helped me with this question? In
other words, next to the W3C specs (which I find very difficult to
read somehow), what's the "bible" of HTML? The book that would
cover even obscure problems like this one?
Thanks!
kj
--
NOTE: In my address everything before the first period is backwards;
and the last period, and everything after it, should be discarded. 2 11732
kj wrote: Here's a puzzle I can't figure out.
I visited the page http://validator.w3.org, and confirmed that it validates itself.
Then I *saved* it to my docroot directory using my browser's save-as function, and then tried to submit this saved page for validation. Now it generates 17 errors, of the form:
end tag for "link" omitted, but OMITTAG NO was specified.
I can't understand why the saved version of the same page produces this error. The page I saved can be seen here:
http://www.panix.com/~kynn/v/
As you can see, it looks pretty much the same as the original.
Pretty much isn't good enough.
The original has this:
<link rev="made" href="mailto:ww ***********@w3. org" />
Your has this:
<link rev="made" href="mailto:ww ***********@w3. org">
The difference is the slash at the end, which causes the error.
I've also compared the source for both pages (using the browser's show-source command), and I can't see any significant difference.
Need to look closer then ;-)
OK, here's a second question, a more important one, in a way. I have 3 books on HTML, and not one of them has helped me at all with this question. There are a zillion books on HTML in the market. Among these, which one would have helped me with this question?
Probably any of them. You just need to understand the difference
between XHTML and HTML.
In other words, next to the W3C specs (which I find very difficult to read somehow), what's the "bible" of HTML? The book that would cover even obscure problems like this one?
It's not an obscure problem, and for me the specs are good enough ;-)
--
Els http://locusmeus.com/
accessible web design: http://locusoptimus.com/
On 28/04/2006 16:58, kj wrote: I visited the page http://validator.w3.org, and confirmed that it validates itself.
Then I *saved* it to my docroot directory using my browser's save-as function, and then tried to submit this saved page for validation. Now it generates 17 errors, of the form:
end tag for "link" omitted, but OMITTAG NO was specified.
The validator interface has been written as Appendix C XHTML, served as
HTML. When your browser saved it, it removed the slashes that form
empty-element start-tags. For example, in the original:
<link rev="made" href="mailto:ww ***********@w3. org" />
In your saved version:
<link rev="made" href="mailto:ww ***********@w3. org">
As elements must be closed in XML documents, the validator complains
about the latter, as well as the other link, meta, img, br, and input
elements.
If you change the document type to HTML 4.01 Strict, remove the prolog,
and the xml:lang and xmlns attributes, the errors should disappear.
[snip]
[...] what's the "bible" of HTML? The book that would cover even obscure problems like this one?
Sorry. I wouldn't know.
Mike
--
Michael Winter
Prefix subject with [News] before replying by e-mail. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Carl |
last post by:
This is perhaps a very simple and stupid question!
How do you run a specific function (with actual values for the parameters)
within a module from the command prompt? That is, with "python ..."
For instance, how do I run hello_msg("Hello no ", 3), which is a function
within the module hello.py, from the console?
def hello_msg(msg, num):
print msg + str(num ** 3) +'!'
|
by: Web Developer |
last post by:
Hi,
I come across the term "type checking" very often in my readings on C++, and
have never heard it in Java. Besides the simplistic answer that it checks
the "type", what more does it mean?
WD
|
by: TonyJeffs |
last post by:
<SCRIPT language="JavaScript">
function anna18(){ window.open
("Slideshow/anna18.htm","","scrollbars=no,fullscreen=yes") }
</SCRIPT>
Why does the above still have a scrollbar?
The actual web site (poor photos of 18th birthday party!) is at:
http://www.tonyjeffs.com/Anna18th
|
by: edgarjang |
last post by:
In JavaScript, I can hide menu bar
( ex)
<html>
<SCRIPT LANGUAGE="JavaScript">
function Test()
{
var win =
window.open("test2.html","sale","menubar=no,scrollbars=no,width=780,height=5
40,top=0,left=0")
window.opener = "OPENER_IS_NOT_NULL";
|
by: Christoph Schneegans |
last post by:
Hi!
Okay, so positions on "text/html" XHTML are totally contradicting. Anyway!
I hope there's more consensus about "application/xml" XHTML.
I've recently learned that Opera 9.0b2 does not only evaluate HTTP header,
BOM and XML declaration to determine the character encoding of an XHTML
document sent as "application/xml", but also the "meta" element. For
example, <http://schneegans.de/sv/test-cases/?case=meta-only-encoding> is
rendered...
| |
by: craigkenisston |
last post by:
I can't believe what is happening on my computer right now.
I have a web project, file-system based on something like
c:\Projects\ProjectX\www\.
I had to make some changes and testing in a separate new directory so I
created c:\Projects\ProjectX\www2\ copied all the content and build. I
made the changes I wanted and test, everything worked fine.
I'm using the Development Webserver, not IIS.
But when I hit "Publish website", it failed...
|
by: Ronen Yacov |
last post by:
Hi There,
I've using IE 7.0.5730.11 on Windows XP.
I want to open a pop up using javascript without showing the status
bar, and to do so I use the function:
function openwindow()
{
window.open("http://www.javascript-
coder.com","mywindow","menubar=1,resizable=1,status=no,width=350,height=250");
}
|
by: robtyketto |
last post by:
Greetings,
For my DESKTOP application I have more than one exit button where I would like the user to be prompted to confirm they really wish to exit.
Much like in VBA with msgbox VbYesNo functionality.
I haven't got a message box within my installed components at the moment. I've seen fscommand("messagebox") functionality mentioned to, I assume this is more webpage/server side orientated though.
Wondering if there is an easy way to...
|
by: =?Utf-8?B?U3RldmUgQmVobWFu?= |
last post by:
I am using Visual C++ 8.0 Express Edition.
On certain events I would like to pop up the standard "Yes/No" dialog -- is
this possible and, if so, how is this done?
|
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...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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
| |
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...
| |