w3c-validation

Autocapitalize attribute on input element (used for iOS) breaks validation

北慕城南 提交于 2019-12-04 06:45:04
As can be seen here , Safari and Safari for the iPhone support all HTML elements, including deprecated elements and even some proprietary elements that were never part of any W3C specifications. It's actually very useful including autocapitalize in the 'email' and 'website' fields in forms, as there's nothing so annoying as having to unselect the SHIFT key when filling in either of those two inputs. Doing this is trivial as all you need to do is add the autocapitalize=off attribute to the corresponding input, e.g.: <label for="email">E-mail</label> <input type="email" name="email" placeholder=

HTML5 validation error: Element source not allowed as a child element of audio in this context

我与影子孤独终老i 提交于 2019-12-04 04:36:38
问题 This is a snippet of code from my assignment. I've checked the w3 samples http://www.w3schools.com/html/html5_audio.asp and it is formatted correctly. Am I just going crazy because of these errors or did I miss something? I believe it's that the HTML5 source element doesn't like how the type is written in but how else would I do it? Please let me know if you guys see anything I'm just missing. <li>.ogg(HTML5 <code>audio</code> tag) <ul> <li style="list-style-type:none;"> <audio controls> `

What is the correct way to mark up the author of a (block)quote?

老子叫甜甜 提交于 2019-12-04 03:48:51
问题 I'm trying to figure out the correct way to add attribution for a quote. It seems the internet is divided about the correct way. Html5Doctor says the following: <blockquote> <p>A quote...</p> <footer> <a href="source of the quote">Author of the quote</a> </footer> </blockquote> But they also state that eventually the figured out that using the footer element wasn't actually valid. They currently still do not provide the 100% correct way. Their latest update was on 2012-02-14. No further

Making/finding html5 validator bookmarklet

牧云@^-^@ 提交于 2019-12-04 03:39:54
问题 I want to find or make a bookmarklet that will validate the html content of a currently viewed page using the W3C HTML 5 validator. I have found two bookmarklets and am trying to get one to behave a bit like one and a bit like the other, however I am not sure how to do this. Chris Coyier has an HTML5 validation bookmarklet that works well except it uses the page URI so does not work for locally tested sites: javascript:(function(){%20function%20fixFileUrl(u)%20{%20var%20windows,u;%20windows

W3C validation for complete site [closed]

北城以北 提交于 2019-12-04 03:09:48
Closed. This question is off-topic. It is not currently accepting answers. Learn more . Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 8 months ago . I am working on a project where I have to validate the complete site, which has around 150 pages, through W3C Markup Validation. Is there a way to check W3C Markup Validation of an entire website? The W3C doesn't offer this on w3.org. http://validator.w3.org/docs/help.html#faq-batchvalidation But you can use this tool and check "Validate entire site" : (Also w3.org refers to this site!) http://www

is -negative margin or padding invalid CSS according to W3C?

被刻印的时光 ゝ 提交于 2019-12-04 00:32:33
问题 is -negative margin or padding are invalid CSS aaccording to W3C ? 回答1: According to Cascading Style Sheets Level 2 Revision 1 (CSS 2.1) Specification - 8.4 Padding properties, negative margin values are valid, negative padding values are not: Unlike margin properties, values for padding values cannot be negative 来源: https://stackoverflow.com/questions/1623163/is-negative-margin-or-padding-invalid-css-according-to-w3c

W3C validation says h1 in article is invalid

那年仲夏 提交于 2019-12-03 23:41:18
问题 I'm running my website through the W3C validation service. I'm getting an error message for the following HTML: <section class="about"> <article> <header> <h1>Mission</h1> </header> <div class="content"> <p>bla bla bla</p> </div> <aside> <img src='/images/logo-hse-250x250.png' /> </aside> </article> </section> The W3C validation error is: Consider using the h1 element as a top-level heading only (all h1 elements are treated as top-level headings by many screen readers and other tools). <h1

Can a td be inside a td

人走茶凉 提交于 2019-12-03 22:44:21
It may be a nonsense question, and I know we have to follow standards as much as possible. But can <td> be a direct child of another <td> , like this: <td class="parent"> <td class="child"> <!-- Some info --> </td> </td> Or it's obligatory to create another <table> with a new <tr> before adding the <td> , which can become heavily populated with table tags and become clustered... not directly but you could place table inside td <td class="parent"> <table><tr> <td class="child"> <!-- Some info --> </td> </tr></table> </td> No, <td> may not be a child of a <td> . A <td> may only be a child of a

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

给你一囗甜甜゛ 提交于 2019-12-03 16:54:09
问题 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 URL's but cant make it out(!). This feed does not validate. line 441, column 2: url must be a full URL:

Validate HTML on local machine

北城以北 提交于 2019-12-03 06:30:41
问题 I'm currently trying to learn HTML and Java EE Servlet programming. I have an application server running on my local machine (Orion Application Server) and I'm connecting to web pages I've deployed on this server using a browser running on the same machine, directed to http://localhost/mypage.htm (for example). I know W3C has a site you can go to that will validate an HTML page (and count how many errors are found for a given doctype), but that has to be a publicly available URL. How do you