So the autocomplete="off" attribute is invalid HTML according to the w3c. Are there valid ways to do this in HTML, CSS or JavaScript? Or do we just have to plan on some of our forms not validating because we want to use this functionality.
...
I was having this discussion with one of my colleagues. He created a piece of code that put an a-href around an object where a flash is to be loaded. When I saw this I almost cried out and told him to use the clickTag instead.
He told me that it works fine with the a-href. I checked it out, and the code worked fine in ie6-8 and firefox...
Hello. I've some javascript that tests DOM node types against like this:
if(node.nodeType == Node.TEXT_NODE) {
Of course, it all works fine in Firefox, Safari, and Opera. But Internet Explorer 7 is complaining that Node (with the capital N) is undefined. But that's part of DOM Level 2!
Do I really need to change my code to us...
I have a block of HTML that looks like this:
<div id="header">
<h1>title</h1>
<h2>subtitle</h2>
</div>
I'm using a CSS technique to hide all that text and replace it with an image. But I want to link the whole block to the homepage. I can't wrap it in <a> because that wouldn't be standards-compliant. So how do I do it?
My solutio...
Possible Duplicates:
Non-Standard Attributes on HTML Tags. Good Thing? Bad Thing? Your Thoughts?
Is there a generic attribute for all HTML elements aside from ID and class?
I have a series of divs that I would like to attatch extra info to. My idea was to use non-standard attributes to hold these values. Is this a bad idea, ...
I read some articles about XForms. Will this standard ever become practical? Any body using this right now? Is it wise to start using now itself?
...
I'm getting more into jQuery and so have set up a HTML/Javascript/CSS base site which I use for all my tests.
Since these tests will eventually turn into PHP and ASP.NET MVC websites, I want to use this opportunity to get the basics down right again for modern browsers and web standards before building the scripting languages on top of ...
Hey, Seems like an easy answer to find .. however I have spent hours searching with no luck.
What are the official tags that developers are supposed to use on mobile web apps?
Like
<callout><phone><map><address>
Does w3c have an official list?
...
Is there any particular reason that it isn't in any of the the specs?
It seems to be supported in all browsers, (although I'll admit it doesn't work right in all of them...since you have to use libraries like innerXHTML to get it to work right thanks to Internet Explorer.
Is innerHTML in danger of disappearing from forthcoming versions...
I have a template that starts every page like this:
<?xml version="1.0" encoding="utf-8"?>
<!-- blah blah-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >
<html xmlns="http://www.w3.org/1999/xhtml">
...
</html>
that produces the error:
The XML page can...
Why are JS scripts usually place in the header of a document? Is it required by standards, or is it just a convention with no particular reason?
...
Can we place <img> inside <h1> according to web standards? like this
<h1> Demo text <img src="anyimage.jpg"/> </h1>
...
is -negative margin or padding are invalid CSS aaccording to W3C ?
...
HTML 5 is the new W3C definition for HTML and will likely represent the direction the internet goes as people find the next killer apps that work in it.
There are the much publicized 'public' coding features like the <video> tag, but I'm wondering what low-level coding tricks people have found so far that could be important, useful, int...
Hi, this is the problem I found when I validate my site with w3c validator, please help.
link
...
If some xhtml tag are presentational but valid in W3C then if i use then what is negative point of using those Tags in terms of semantic, code maintanance. I'm talking about b, big, br, hr, i, and small.Are all presentational tags deprecated?
...
Is allowed to make space in terms of semantic, web standards and accessibility and cross browser compatibility?
...
I am using curl like this:
curl -s -F "uploaded_file=@/path_to_file;type=text/html" -F output=soap12 http://localhost/w3c-markup-validator/check >text.xml && xsltproc script/guilbep_soap_w3c.xsl text.xml
xsltproc is fast; but curl is not.
does it come from the fact that w3c-markup-validator is local? or from w3c-markup-validator itsel...
I've just discovered that using <div /> instead of <div></div> completely destroys my page in IE8. Even though I only had the empty tag syntax in one single place, half the page didn't even render.
Is this a bug in IE8 or is this correct standards implementation? I'm astounded if this is correct behaviour and Microsoft have deliberately...
Whole code of Asp.net page renders in a form tag is it W3C valid to render everything in form tag?
<body>
<form runat="server">
remaining code.....
</form>
</body>
...