Questions tagged [web-standards]

Technologies for creating and interpreting web-based content which are carefully designed to deliver the greatest benefits to the greatest number of web users while ensuring the long-term viability of any document published on the Web.

The World Wide Web Consortium (W3C), along with other groups and standards bodies, has established technologies for creating and interpreting web-based content. These technologies, which we call “web standards,” are carefully designed to deliver the greatest benefits to the greatest number of web users while ensuring the long-term viability of any document published on the Web.

Designing and building with these standards simplifies and lowers the cost of production, while delivering sites that are accessible to more people and more types of Internet devices. Sites developed along these lines will continue to function correctly as traditional desktop browsers evolve, and as new Internet devices come to market.

351 questions
87
votes
7 answers

Blank image encoded as data-uri

I've built an image slider (based on the terrific bxSlider) which will preload images just-in-time before they slide into view. It's working pretty well already, but I don't think my solution is valid HTML. My technique is as follows: I generate the…
Jens Roland
  • 27,450
  • 14
  • 82
  • 104
77
votes
8 answers

Multiple CSS Classes: Properties Overlapping based on the order defined

Is there a rule in CSS that determines the cascading order when multiple classes are defined on an element? (class="one two" vs class="two one") Right now, there seems to be no such effect. Example: both divs are orange in color on…
nonopolarity
  • 146,324
  • 131
  • 460
  • 740
72
votes
9 answers

Shouldn't we use

I found some good cons here: The noscript element only detects whether the browser has JavaScript enabled or not. If JavaScript is disabled in the Firewall rather than in the browser then the JavaScript will not run and the content of the noscript…
Jitendra Vyas
  • 148,487
  • 229
  • 573
  • 852
67
votes
5 answers

Can we place `` inside `

` according to web standards?

Can we place inside

according to web standards? like this

Demo text

Jitendra Vyas
  • 148,487
  • 229
  • 573
  • 852

65
votes
7 answers

How does one target IE7 and IE8 with valid CSS?

I want to target IE7 and IE8 with W3C-compliant CSS. Sometimes fixing CSS for one version does not fix for the other. How can I achieve this?
Wasim Shaikh
  • 6,880
  • 18
  • 61
  • 88
65
votes
6 answers

Correct use of Blockquote, q and cite?

Is this the correct use of Blockquote, q and cite?

Type HTML in the textarea above, and it will magically appear in the frame below.
refrence url

Is use of…
Jitendra Vyas
  • 148,487
  • 229
  • 573
  • 852
61
votes
12 answers

Create a HTML table where each TR is a FORM

I'm trying to create a table where each row is a form. I want that each input is in a different table division, but I still need that for example, all first inputs belong to the same table head and so on. What I'm trying to do is an editable grid,…
vtortola
  • 34,709
  • 29
  • 161
  • 263
54
votes
6 answers

What are the url parameters naming convention or standards to follow

Are there any naming conventions or standards for Url parameters to be followed. I generally use camel casing like userId or itemNumber. As I am about to start off a new project, I was searching whether there is anything for this, and could not find…
Dinesh Manne
  • 1,824
  • 6
  • 25
  • 32
54
votes
9 answers

Is it ok to use in place of blindly?

Note: I know is presentational and
Jitendra Vyas
  • 148,487
  • 229
  • 573
  • 852
53
votes
3 answers

Does HTML5 ban th cells from tbody?

I have the following markup as a part of a Razor view: …
Doug McClean
  • 14,265
  • 6
  • 48
  • 70
48
votes
7 answers

Example of a URI that isn't a URL?

It's been explained to me numerous times that all URLs are URIs but not all URIs are URLs. Can anyone give an example of something that is a URI but is not a URL?
Josh Gibson
  • 21,808
  • 28
  • 67
  • 63
41
votes
1 answer

What elements can a span tag contain in HTML5?

So I have been a CLI or Cron developer in PHP for most my career and now I am learning why I did not like UI work in school ;) I am dealing with HTML5 validation here and I am not finding an answer to a question that is for curosity. I ran the W3C…
Ghost
  • 433
  • 1
  • 4
  • 5
40
votes
3 answers

Why would Google use a font tag?

So, I couldn't help noticing while demonstrating Chrome's DOM browser thing to my brother, that Google uses a tag. I know this is a stupid question, but from a programming point of view--why would they use a deprecated tag on Google?…
Carson Myers
  • 37,678
  • 39
  • 126
  • 176
31
votes
8 answers

How is JavaScript library bloat mitigated with Web Components?

As someone who has tried to find a way to help content authors develop and maintain big web sites by creating (HTML) components for years, I'm really excited to see web components gaining tracction at w3c, google and mozilla. But it seems to me…
31
votes
6 answers
or
Jitendra Vyas
  • 148,487
  • 229
  • 573
  • 852
1
2
3
23 24
Presidents
Name Born Died
to put content text?
Which is more semantic and valid?

content text

content text