w3c

Question of standards: I, EM, B, STRONG, BIG, SMALL

In real work, I always use EM for italics, STRONG for selection. And SMALL. I decided to update their knowledge in HTML + decided to look towards the HTML 5 So, xHTML 1.0 strict, as the language of separating flies and cutlets, and allowed the following inline elements related to the text: I, EM, B, STRONG, BIG, SMALL here, I came ac...

XHTML Validation problem within Javascript

So, I read the W3C validation FAQ about why some javascript causes validation errors but didn't seem to find an answer regarding my problem. If you try to validate http://www.proskimboarding.com/codingtest/Public/registration.php you'll receive a bunch of errors within the javascript code... anyone know of a solution for this? (mainly ...

Can we add javascript in IE conditional comment just before </body>

This code should i place this code at bottom of body it's in conditional comment. <!--[if lt IE 7]> <script src="http://ie7-js.googlecode.com/svn/version/2.1(beta2)/IE7.js"&gt;&lt;/script&gt; <![endif]--> ...

After WCAG 2.0, Should we follow any guideline of WCAG 1.0?

WCAG 2.0 is released should we follow only WCAG 2.0 guideline or we should combination of both no need to consider WCAG 1.0 now? or if I'm considering WCAG guideline then do i need to consider any other guideline along with WCAG like RNIB, DDA Act, Section 508 etc. or if I'm already considering WCAG guideline then no need to look at oth...

Should we always consider how page will look without CSS?

If yes then presentational elements would be helpful in this condition so should we use those? <b>…</b> , <i>…</i>, <big>…</big>, <small>…</small>, <tt>…</tt>, <hr /> These are valid tags ...

When we should use <dl> over <ul>?

In what scenarios we should go for <dl> not <ul>? Does it matter for screen reader user <ul> or <dl>? does screen reader software notify user about content is in <ul> or <dl>? ...

Why WCAG made 3 level "A", "AA" and "AAA"?

What is the purpose of making 3 priority level by WCAG? is it like? If client not paying extra or if we don't have much time then go for A If client paying then or if we have time to make site compatible go for at least AA If client paying and needed according to govt. rules then go for AAA If we are making site then which level we ...

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

Is it ok to use cellpadding="2" cellspacing="2" in ? of these are not recommnded by W3C and not right according to web standards? What are alternative 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: Accordin...

Is there any deprecated elements and properties checker (according to w3c) like w3c validator?

Is there any deprecated elements and properties checker (according to w3c) like w3c validator? ...

What is the point of using W3C valid badges?

I'm talking about these. Yeah, I know they are intended to show that the page conforms to the standards and should link to page revalidation service. Ok. But why should I as a regular user bother with this? As a visitor I'm indifferent to whether the page is strict XHTML or not, whether it contains dirty IE hacks or not. It is impor...

on how many elements Width="...." attribute is deprecated/non-valid in XHTML 1.0 strict?

on how many elements Width="...." is attribute deprecated/non-valid in XHTML 1.0 strict? and where not? After seen David's link i screenshoted the information of width ...

<td align="left" valign="top"> why no error in w3c validator for this?

<td align="left" valign="top"> is it mean both are valid? ...

What is the benefit to add W3C logo in site?

http://www.w3.org/QA/Tools/Icons If my code is valid then Should i add logo to all my personal and client sites.? Should i add logo to client sites and tell to client these are good to have? If code is valid but semantically correct even can we use logo? What is benefit and purpose to add these logos for XHTML, CSS accessibility. And w...

How to Create A Document Type Definition

Hi Guys I've been creating a lot of my own custom attributes in my XHTML documents lately, and am aware that because they are custom attributes, they won't validate against the W3C standard. Isn't it true that I can specify my own DTD to make it validate? If so, can anyone tell me what's involved in doing this in an ASP.NET MVC app? T...

CSS3 box-shadow + inset + RGBA

I'm doing some tests with new features of CSS3, but this combination only works in lastest versions of Chrome and Firefox, but not in Safari or Opera: box-shadow: inset 0px -10px 20px 0px rgba(0, 0, 0, 0.5); -webkit-box-shadow: inset 0px -10px 20px 0px rgba(0, 0, 0, 0.5); -moz-box-shadow: inset 0px -10px 20px 0px rgba(0, 0, 0...

In XMLHttpRequest, where is error flag variable?

In the XMLHttpRequest Spec it says that: The DONE state has an associated error flag that indicates some type of network error or abortion. It can be either true or false and has an initial value of false. Also says something similar about a "send() flag" in an "OPENED" state. It's said in the specification but not in the ...

Is it good to put a &nbsp; inside an empty <td>?

If this is the structure: <table cellspacing="0" cellpadding="0"> <tr> <td>I don't need anything here, should I always put a &nbsp; here?</td> <td>item </td> </tr> <tr> <td>model</td> <td>one</td> </tr> <tr> <td>model</td> <td>two</td> </tr> <tr> <td>model</td> <td>thr...

Is it ok if everything is looking ok but X/HTML and CSS are not valid , for CMS's Admin/control panel?

Is it OK if everything looking OK but HTML and CSS are not valid , for CMS Admin/control panel? Should we only consider Web-standards for site, not necessary for site-management tools? for example :http://site.com/wp-admin :http://site.com/admin/ ...

An error has occurred opening extern DTD (w3.org, xhtml1-transitional.dtd). 503 Server Unavailable

I'm trying to do xpath queries over an xhtml document. Using .NET 3.5. The document looks like this: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; <html lang="en" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> .... </head> <body> ...

Why does CORS not seem to work with POST?

Mozilla's own specification says simple GET or POST should be natively CORS's without preflighting but so far every POST attempt I've made has resulted in an OPTIONS header going out. When I change it from POST to get the code immediately sends a proper GET request so the cross site part is working fine. Here's a slimmed down sample of...