FAQ Database Discussion Community


Autocomplete off vs false?

html,google-chrome,autocomplete,w3c
Recently I have come across an issue where I wanted to disable auto-complete in all browsers. Chrome has a new feature in settings where you can add a card number. And the requirement was to also disable that. What worked in all browsers was to do this autocomplete=false at form...

Java - reading data from website [duplicate]

java,html,xpath,w3c
This question already has an answer here: Parse Web Site HTML with JAVA 3 answers I know how to read data from xml file, but i can't find any examples of reading data from website (HTML). All examples include xml files. I need do it with DOM parser or...

HTML Doctype changed? [closed]

html,doctype,w3c
Edit: My Problem was in the nginx.conf, I just added include mime.types; and now it works. I recently noticed that my css doesn't work when I put <!DOCTYPE html> on top of my Document, but when I <!DOCTYPE> it works. Isn't the first the 'official' way? Also w3c validator gives...

Namespace and no namespace tag in the same XML is according with the W3C recommendation?

xml,xml-namespaces,w3c
See the example XML below: <?xml version="1.0"?> <request serviceName="MyService" xmlns:model="http://me.myself.com/model"> <model:user>USER</model:user> <model:pass>PASS</model:pass> <package>PackageNumber</package> <types>Float</types> I know that this XML is correctly parsed and valid. I also know that the <user> and <pass> tags has the namespace "model" and the other tags has no namespace (or namespace denoted by the empty...

How is “<” in HTML handled by browsers?

html,w3c
In the following snippet, < gets rendered as expected in Firefox 37.0.2 and I have seen the same in many other modern browsers as well. Is this textarea specification valid HTML5? Ideally shouldn't it be &amplt; by escaping the "<" <html> <textarea> Hello World < </textarea> </html> How does the...

Whats part of HTML5?

html,html5,w3c
I have read some books about HTML5. In many of these books the authors describe the geolocation-api or the webstorage-api in context of HTML5. But they aren't actually part of the HTML5-Specification, are they? Is it still okay to call them HTML5 features? Does this also apply to WebSockets and...

SVG SMIL HTML5 Bad value `none` for attribute fill on element set

html5,svg,w3c,w3c-validation,svg-animate
I've received a SVG SMIL file that I want to use within a HTML5 project. I'm not to familiar when using SVG SMIL files and upon opening the file I can see it's in XML format and I've done all necessary changes to get it working in HTML5, however it...

How to convert w3c date to a custom format?

php,w3c
How do I to convert a w3c date to a custom format inside PHP? My w3c date: "2015-02-26T03:11:41.000-03:00" My custom format: "dd/mm/YYYY hh:mm:ss" Has someone Any idea?...

redefine xsd element throws “not well formed” error

soap,xsd,wsdl,soapui,w3c
I am trying to use the element redefine in my xsd. I have tried different combinations but still don't seem to get this error resolved. The error shows up when i try to load the WSDL including the redefined schema into SOAP UI. Also, it doesnt show up in the...

W3C validator says 'feed does not validate' 'url must be a full URL'… whats wrong with it?

url,rss,w3c,w3c-validation,rfc
Validating my feed, it has an enclosure with a URL of https://archive.org/download/NigelFarageAPersonalMessageToNorthernIrelandVoters./Nigel%20Farage,%20a%20personal%20message%20to%20Northern%20Ireland%20voters..mp3 I know it is a bit convoluted... but what is wrong with it? The stop in the directory name? the double dot in the file name? the comma? all of em? I have looked at the RFC on...

using css pixel calculating screen size, where is wrong?

css,web,retina-display,w3c
In css w3(here), 1px = 0.75pt, 1pt = 2.54/72 cm,so 1 css pixel:1px = 0.26mm for example, the CSS pixel of iPhone4 is 320px * 480px(not device pixel), so in width ,the length should be: 320 *0.26 = 83.2mm but the iPhone4 is 3.5",so the length in width is about...

Is this a valid SVG path?

svg,w3c
I've run into a problem rendering the following SVG path with various svg libraries: <path d="M19.35 10.04c-.68-3.45-3.71-6.04-7.35-6.04-2.89 0-5.4 1.64-6.65 4.04-3.01.32-5.35 2.87-5.35 5.96 0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zm-2.35 2.96l-5 5-5-5h3v-4h4v4h3z"/> specifically, you can see something odd about this block: 4.04-3.01.32-5.35 this fixes it: 4.04-3.01+0.32-5.35 ... as...