Все вопросы: [w3c]
60 вопросов
Тестирование на соответствие W3C: методология
Мы собираемся изменить дизайн большой веб-службы, которая имеет около 25 уникальных шаблонов страниц, доставляющих тысячи страниц.Одним из основных требований является соответствие w3c (переходный html 4.01 / WCAG1.0).Есть бесконечное количество.ошибок проверки, так как код потрепан. 1) Поско...
Весь код страницы Asp.net отображается в теге формы, действителен ли он W3C?
Весь код страницы Asp.net отображается в теге формы. Допустим ли W3C для отображения всего в теге формы? <body> <form runat="server"> remaining code..... </form> </body>
Синтаксис закрытия div в IE8
Я только что обнаружил, что использование <div /> вместо <div></div> полностью уничтожает мою страницу в IE8.Хотя у меня был только пустой синтаксис тега в одном месте, половина страницы даже не отображалась. Это ошибка IE8 или это правильная реализация стандартов?Я поражен,...
curl w3c-markup-validator локально работает медленно, как мне сделать это быстрее?
Я использую curl вот так: 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 работает быстро;но завиток нет. Это связано...
Разрешено ли освободить место с точки зрения семантики, веб-стандартов, доступности и кроссбраузерной совместимости?
Разрешено ли &nbsp; освободить место с точки зрения семантики, веб-стандартов, доступности и кроссбраузерности?
В чем отрицательный момент использования презентационного тега xhtml W3C?
Если какой-то тег xhtml является презентационным, но действителен в W3C, то, если я использую, то каков отрицательный момент использования этих тегов с точки зрения семантики, обслуживания кода.Я говорю о b , большом , br , hr , i ,и small . Все ли презентационные теги устарели?
Конечный тег для "input" опущен, но указан OMITTAG NO.
Это проблема, которую я обнаружил, когда проверял свой сайт с помощью валидатора w3c, пожалуйста, помогите. ссылка
HTML 5 - Подлый материал
HTML 5 - это новое определение HTML от W3C, которое, вероятно, будет отражать направление развития Интернета по мере того, как люди находят новые приложения-убийцы, которые в нем работают. Существуют широко разрекламированные «общедоступные» функции кодирования, такие как тег <video>,...
-отрицательные поля или отступы недопустимы в CSS согласно W3C?
is -negative margin или padding является недопустимым CSS согласно W3C?
Можно ли поместить <img> внутри <h1> в соответствии с веб-стандартами? </h1>
Можно ли разместить <img> внутри <h1> в соответствии с веб-стандартами? вот так <h1> Demo text <img src="anyimage.jpg"/> </h1>
Why are JS scripts usually place in the header of a document?
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?
IE cannot find the W3C XHTML DTD (Error 2146697204)
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"&...
Why has innerHTML not been added to the w3c specs?
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...
Mobile Website Markup Tags?
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?
What is currently the best HTML/CSS/Javascript configuration?
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 b...
How to link a header in a standards-compliant way?
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 i...
Node.TEXT_NODE and IE7
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 ...
Hex representation of a color with alpha channel?
Is there a W3 or any other noteworthy standard on how to represent a color (including alpha channel) in hex format? Is it #RGBA or #ARGB?
Is a a-href around an object (ie. flash) just a bad idea or is there actually a standard about how a click on such an object has to be handled?
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...
Alternatives to using autocomplete in forms
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.
How do you make a HTML page determine which Button to click (when you press the Enter key) without JavaScript?
I have an ASP.NET page with two sections on it... one for registration, one for login... each having a submit button. When i'm in the login part of the page, i want the first 'submit' button to engage when 'Enter' is depressed. When in the registration part, i want the 2nd 'submit' button to eng...
URI doesn't validate on W3C Markup Validator, identical direct input does
I'm trying to get a site to validate as HTML5 on the W3C Markup Validator. When I use the "Validate by URI" option, it generates a ton of errors, but when I copy and paste the HTML into the "Validate by direct input", it validates perfectly. When I run a diff on the two sources returned by the va...
How handle the CSS3 Spec. in a useful way?
The CSS3 Specifications are in the main browsers partly implemented and you get very nice results with less code, but there are many reasons not to use CSS3. E.g. not downwardly compatible, probably not similar renderd views on different browsers, etc. So I'm asking myself: Which is the best way...
How to preserve newlines in CDATA when generating XML?
I want to write some text that contains whitespace characters such as newline and tab into an xml file so I use Element element = xmldoc.createElement("TestElement"); element.appendChild(xmldoc.createCDATASection(somestring)); but when I read this back in using Node vs = xmldoc.getElementsBy...
(X)HTML & CSS definitions description in computer-readable format
is there any set of HTML & CSS definitions, like list of (X)HTML tags & their available properties (both with descriptions) and so on, and CSS properties (descriptions, browsers supporting and so on) in computer readable (ie XML, CSV, INI or so) format? Thanks in advance!
My HTML INPUT is not valid markup, please help
On my web site, I have the following code: <input type="image" src="images/btn.png" alt="Submit" border="0" height="25" width="102" /> When I run my web site through one of the many HTML validators, they prompt to inform me that: border height width are invalid attributes of the INPU...
Кодирование для IE и кодирование для стандартов W3C
Еще одна глава из серии «Споры между мной и другим старшим разработчиком»: P Моя позиция заключается в том, что при веб-разработке код браузера должен быть написан в первую очередь так, чтобы соответствовать веб-стандартам W3C, хотя Internet Exploder имеет большую долю рынка (от 51% до 79% в ...
Scala / Java не соблюдает спецификации w3 "избыточный трафик dtd"?
Я новичок в Scala, поэтому, возможно, я не в курсе, я хочу знать, не в моем ли коде проблема. Учитывая файл Scala httpparse, упрощенный до: object Http { import java.io.InputStream; import java.net.URL; def request(urlString:String): (Boolean, InputStream) = try { val...
Может ли метка относиться только к элементам ввода?
W3Schools говорят о ярлыках : Тег <label> определяет метку для элемента input . [Акцент мой] Означает ли это, что следующий HTML-код недействителен? <!doctype html> <html> <head> <title>Example document</title> </head>...
Как мне внести предложения в спецификацию CSS?
Недавно я хотел сделать несколько вещей с помощью CSS, но обнаружил, что лучшим решением является использование Javascript. Это заставило меня задуматься, знает ли кто-нибудь здесь, как делать предложения по разработке, которые будут реализованы в спецификации CSS 3? Было бы здорово, если бы ...