Just noticed something peculiar. Thought I'd share.
On jigsaw.w3.org, when you've validated your CSS they suggest you put an
icon on your page. The thing is, the img tag isn't XHTML compliant!
<p>
<a href="http://jigsaw.w3.org/css-validator/">
<img ...
alt="Valid CSS!">
</a>
</p>
It of course should be
<img ...
alt="Valid CSS!" />
to work in all environments. Then again, the argument could be made that you
ought to be able to pick up on this if you're coding to XHTML, but I think
that's a misguided point of view. Soon everyone's going to be learning it
that way.
I don't plan to subscribe for this one point, but perhaps someone who does
would be interested in passing this along. 5 1755
Neal wrote: Just noticed something peculiar. Thought I'd share.
On jigsaw.w3.org, when you've validated your CSS they suggest you put an icon on your page. The thing is, the img tag isn't XHTML compliant!
It of course should be
<img ... alt="Valid CSS!" />
Which, while valid in HTML, is supposed to display the > character - i.e. it
means the same as: <img ... alt="Valid CSS!">>
--
David Dorward <http://dorward.me.uk/>
"Neal" <ne**@spamrcn.com> wrote: On jigsaw.w3.org, when you've validated your CSS they suggest you put an icon on your page.
That's bad advice. Those icons are worse than useless. Arguments: http://www.cs.tut.fi/~jkorpela/html/...tion.html#icon
(which is about "Valid HTML!" icons, but exactly the same applies,
actually even stronger, since CSS is less widely known than HTML
to the general public).
The thing is, the img tag isn't XHTML compliant!
Excuse me while I yawn.
It of course should be
<img ... alt="Valid CSS!" />
to work in all environments.
Nonsense. There is not a single browser that cannot handle the tag
without the slash.
Then again, the argument could be made that you ought to be able to pick up on this if you're coding to XHTML,
Well, that goes without saying, doesn't it? And if you actually
understand what validity is, as it applies to HTML as (formally) an
SGML or XML application, then you surely understand that there is no
such thing as CSS validity, so this alone should have deterred you from
polluting your page with those icons.
--
Yucca, http://www.cs.tut.fi/~jkorpela/
Jukka K. Korpela wrote: Well, that goes without saying, doesn't it? And if you actually understand what validity is, as it applies to HTML as (formally) an SGML or XML application, then you surely understand that there is no such thing as CSS validity, so this alone should have deterred you from polluting your page with those icons.
there may be no such thing as free lunch, but there definitely IS CSS
validity. Every programming language has it's rules as does every other
language. Some languages though are not interpreted strictly, that is:
even if you do not code according to the rules, the result may (!) be
the same. So, not only XML-applications can be validated, but every
other language can, including of course CSS.
So, before you go and teach others about validity, please feel free to
consult any basic programming handbook and look up the index for
"validation".
Greets
ICHwesen,
the teacher's teacher ;-)
ICHwesen wrote: Jukka K. Korpela wrote:
Well, that goes without saying, doesn't it? And if you actually understand what validity is, as it applies to HTML as (formally) an SGML or XML application, then you surely understand that there is no such thing as CSS validity, so this alone should have deterred you from polluting your page with those icons. there may be no such thing as free lunch, but there definitely IS CSS validity.
Perhaps. But there is no CSS validity "as it applies to HTML as
(formally) an SGML or XML application".
Matthias
ICHwesen <IC******@web.de> wrote: there may be no such thing as free lunch, but there definitely IS CSS validity. Every programming language has it's rules as does every other language.
If you think that CSS is a programming language, I'm not surprised at your
thorough confusion. Consider reading a primer on CSS. You can probably find
one via the FAQ.
--
Yucca, http://www.cs.tut.fi/~jkorpela/ This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
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...
|
by: Tom Pearson |
last post by:
I create controls and validators dynamically dependent on data at runtime.
I create the control then the relevant validator(s) for it assigning the Control.ID as the control to validate.
These...
|
by: Pham Nguyen |
last post by:
Has anyone seen an example of a textbox server control that has
built-in client-side validation? I'd like to build a server control
that extends the System.Web.UI.WebControls.TextBox class to allow...
|
by: pmud |
last post by:
Hi,
I am using a compare validator in asp.net application(c# code). This Custom
validator is used for comparing a value enterd by the user against the
primary key in the SQL database. IF the...
|
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...
|
by: Mike Collins |
last post by:
I have a form where I create dynamic controls at runtime. With this, I am
adding a dynamic required field validator to each control as needed, but the
validators are not firing when I click submit....
|
by: yaru22 |
last post by:
I'd like to create a program that validates bunch of urls against the
w3c markup validator (http://validator.w3.org/) and store the result in
a file.
Since I don't know network programming, I...
|
by: Gonza |
last post by:
Hi group, i'm trying to add a customvalidator control to a custom web
control. The problem is i'm getting a "Unable to find control id..."
exception. Here is the code:
public class CuitTextBox :...
|
by: Daniele Perilli |
last post by:
Hi everybody,
I'd like to introduce you a new little tool I developed to
automatically check markup validation of all pages in given websites.
It uses W3C HTML Validator and CSS Validator online...
|
by: Prisoner at War |
last post by:
Actually, it doesn't have to be a blockquote...but I'm at my wits'
end: I want to make bold several lines of text which have a pair of
<br /tags between them...seems like the <b></bdo not "carry...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
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...
|
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,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
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...
|
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...
| |