w3c

Is there an XHTML 5 validator?

最后都变了- 提交于 2020-01-01 12:05:56
问题 Is there a validator specifically for XHTML 5, i.e. the XML serialization of HTML 5? The W3C validator supports the document types: HTML 5 (experimental) : which treats as valid various features that are not allowed in XML, such as implicitly closed <br> tags. several XHTML 1.0 and XHTML 1.1 doctypes, which don't recognize the new tags in HTML 5. 回答1: You can use Validator.nu (X)HTML5 Validator (Living Validator): http://html5.validator.nu/ Note that the "living validator" means that since

Is there an XHTML 5 validator?

╄→гoц情女王★ 提交于 2020-01-01 12:05:12
问题 Is there a validator specifically for XHTML 5, i.e. the XML serialization of HTML 5? The W3C validator supports the document types: HTML 5 (experimental) : which treats as valid various features that are not allowed in XML, such as implicitly closed <br> tags. several XHTML 1.0 and XHTML 1.1 doctypes, which don't recognize the new tags in HTML 5. 回答1: You can use Validator.nu (X)HTML5 Validator (Living Validator): http://html5.validator.nu/ Note that the "living validator" means that since

Opengraph W3C valid?

混江龙づ霸主 提交于 2020-01-01 04:40:08
问题 I would like to know if the opengraph markup is W3C valid, I'm getting the following error when I try to validate it: Line 14, Column 17: there is no attribute "PROPERTY" <meta property="og:site_name" content="sitename"> In case it's not valid, will it impact my pagerank and other search engines algo? Is it possible to cloak those properties? 回答1: It's not valid in the normal HTML doctypes, but there is a doctype you can use to validate XHTML documents including Open Graph: <!DOCTYPE html

Gecko/Firefox support for HTML5 Notifications

烈酒焚心 提交于 2019-12-31 12:12:33
问题 I'm wondering if there is any build-in support for the HTML5 Notification feature in Gecko browsers so far? Maybe some hidden developer thingy ? I'm aware of WebKits window.webkitNotifications which works great, so, is there a Firefox implementation ? Update After searching and reading some W3C HTML5 specs, I'm maybe a little bit off here. I can't find any Notification feature anywhere there. Am I facing wrong facts here? Is that just a "very own webkit implementation"? 回答1: To start with

TextArea MaxLength - Supported or Not Supported?

我怕爱的太早我们不能终老 提交于 2019-12-31 01:47:08
问题 I was getting ready to add a jQuery plugin to support maxlength on textarea's and noticed that the MaxLength attribute is working natively on Safari, Chrome, and Firefox. Is this thanks to HTML5 or ? Does that means having a maxlength on textareas no longer requires a jQuery type plugin? Thanks 回答1: Yes, maxlength was added to <textarea> in HTML5, so that's why you're seeing the behavior in newer browsers. Do you need a plugin? that depends...if you need to support older browsers, then yes.

Is it ok to use cellpadding=“2” cellspacing=“2” in <table>?

↘锁芯ラ 提交于 2019-12-30 08:22:30
问题 Is it ok to use cellpadding="2" cellspacing="2" in <table> ? Or are these not recommended by W3C and not right according to web standards? What are alternatives in CSS? Update : and is it also ok to use <td align="right" valign="top"> ? My question is in terms of separation of content and presentation and W3C recommendations. Update : According to this chart in <table> only align and bgcolor are not allowed in Strict version. So is it ok to allow other properties of <table> ? alt text http:/

What is the default width of an HTML table cell <td>?

左心房为你撑大大i 提交于 2019-12-30 08:07:00
问题 I haven't been able to find the answer to this question: Where in the spec or in UA documentation is the default width of a <td> defined? I've searched the HTML Living Standard, the HTML5 Recommendation, and various other sources. My understanding (based on usage and observation) is that a table cell will, by default, occupy the full width of the column in which it lives. And the cell cannot be given a different width than the column if other cells exist in the column. I'm looking for

Is 5MB the de facto limit for W3C Web Storage?

风格不统一 提交于 2019-12-30 05:48:04
问题 I am looking into using browser sessionStorage for a web application, and was trying to find current information on size limitations. It appears most desktop browsers have imposed a 5MB limit. However, I am not finding many recent articles nor information on the mobile browsers. The Disk space of the W3C Web Storage specification says "A mostly arbitrary limit of five megabytes per origin is recommended. Implementation feedback is welcome and will be used to update this suggestion in the

Is there a semantical difference between <tag /> and <tag></tag> in XML?

巧了我就是萌 提交于 2019-12-30 05:25:10
问题 We have some kind of problem with a customer which is arguing that there is a semantical difference between two versions of empty tag in an XML file we're sending (pure XML no HTML..). They expect: <our-xml> <some-tag></some-tag> </our-xml> We send: <our-xml> <some-tag /> </our-xml> We are of the opinion that this is exactly the same but we could not really prove the arguments with facts. Only thing we found was in https://www.w3.org/TR/REC-xml/#sec-starttags where it says empty-element tags

The Media Capture API - any existing implementations?

江枫思渺然 提交于 2019-12-30 04:00:05
问题 I have been reading up on the draft Device APIs and am wondering whether there are any implementations of the Media Capture API. Ericsson seem to have some demos up, however haven't released the source. There's also a bug report on Chromium. I don't mind whether implementation takes the form of a: nightly build patch branch browser extension backfill JavaScript ...so long as it allows experimenting against the interface as is thus far suggested in the standard. 回答1: Android 3.0 implements the