w3c Questions

0

I have the below code, which is a button tag inside that I have a icon inside tag ( previously I added tag to show the icon, but then had to change to because there was a SonarQube code smell issue...
Hispanicize asked 29/8, 2024 at 19:25

3

Solved

I was reading this w3c document about post JSON data with html form, and trying to test it. my test form is as follows: <form action="postjson.php" method="POST" enctype="application/json"&gt...
Gorgerin asked 24/6, 2016 at 15:36

2

Solved

Example 1 pre { background: lightblue; } <pre> <code> foo </code> </pre> Blank lines appear above and below foo. This is expected because there are newli...
Brandnew asked 13/8, 2018 at 16:54

18

Solved

Recently I have come across an issue where I wanted to disable auto-complete in all browsers. Chrome has a new feature in settings where you can add a card number. And the requirement was to also ...
Brig asked 5/5, 2015 at 12:38

5

Solved

AVIF is the most efficient image format I've seen. I'm amazed at the image quality it provides at astonishingly small file sizes. If you haven't, try converting a raw image or two at Squoosh.app. I...
Kilby asked 15/2, 2023 at 12:9

3

Solved

Currently I am building a web portal using RoR, MySQL, HTML, CSS and jQuery etc., I got a request from my automation test engineer to add ID attributes(if possible NAME attribute also) to all the e...
Matazzoni asked 22/4, 2013 at 18:20

6

Solved

I am looking for some alternate way to do: <iframe transparency=true ... When I do the W3C validation, I am getting the error: Column 31: there is no attribute "allowtransparency" If use t...
Thaddeus asked 18/9, 2010 at 6:58

18

I am unable to import org.w3c.dom.NodeList package to Eclipse. It is showing The package org.w3c.dom is accessible from more than one module: <unnamed>, java.xml" error message in eclipse...
Njord asked 31/7, 2019 at 8:53

6

Solved

I have a form that has two buttons. One for saving a record and the other for cancelling the save procedure. I am using the rails.js (a common AJAX/jQuery plug-in for those of you not in the know) ...
Erlineerlinna asked 24/10, 2010 at 11:0

3

Regarding window.innerWidth and document.documentElement.clientWidth, Webkit (Chrome / Safari) claims innerWidth is smaller than clientWidth. Trident and Presto claim innerWidth is bigger than c...
Kannry asked 4/8, 2011 at 14:0

10

Solved

I'm trying to detect whether a custom element with a specific name was registered or not. Is there a way to make such check? Or is there a way to get list of registered custom elements? I do docu...
Clementius asked 6/12, 2014 at 17:25

0

According to the documentation, it states the following: https://www.w3.org/TR/CSS22/visuren.html#anonymous-block-level The line boxes before the break and after the break are enclosed in anonymou...
Hobard asked 25/3, 2023 at 18:58

7

Solved

I'm in halfway trough an html parser and found html5 defined explicitly the rules of thumb for parsing ill formed html. (And I used to infer them from DTDs, sigh) I love that fact, but I know well...
Beckmann asked 26/7, 2011 at 5:38

4

Solved

CSS defines currentColor as a color equivalent to an element’s color property. It’s similar to a CSS variable, but on a per-element basis. When currentColor is used as a color value in any CS...
Hiltner asked 18/9, 2016 at 19:7

5

Solved

As some of you would of heard the hgroup element is being removed from the HTML5 Specification. (For more info, see the W3C HTML Working Group's decision on request to drop hgroup from HTML5 on the...
Oquassa asked 4/4, 2013 at 10:10

8

Solved

I am using navigator for communicating with the server , but problem is that we need to pass some header information as there is filter which recognise the request is from the valid source. Can an...
Dietz asked 10/11, 2016 at 8:56

6

Solved

If you use deprecated attributes or tags <center>, <font color="red">, or <td valign="top"> etc. in XHTML 1.0 Strict (no depr. attributes), modern browsers (I will use Chrome as a...
Rackrent asked 11/7, 2012 at 23:27

2

Subresource integrity seems to be an awesome stopgap allowing to use third-party controlled HTTP-served resources in a secure way. However the spec considers HTMLLinkElement and HTMLScriptElement i...
Pantheas asked 27/1, 2016 at 0:4

2

We have a head tag and a body tag. For the body tag we now have header, main, and footer tags. Why is there no foot tag to correlate to the head and body tag? This foot tag would be perfect for...
Septal asked 11/5, 2018 at 16:19

13

Solved

EDIT: WOW. This question is 12 years old now. As someone stated, it can be done with a one-liner since 2016: https://stackoverflow.com/a/69322509/80907 The original: I'm wondering if there's a way...
Joanjoana asked 5/4, 2009 at 0:9

6

Solved

According to standards, is it necessary to have <tbody> in every table?
Tungstite asked 20/6, 2010 at 3:14

5

Solved

In HTML5 we currently have a <figure> element, defined like so (W3C reference) The figure element represents a unit of content, optionally with a caption, that is self-contained, that is ...
Pathology asked 15/10, 2012 at 16:14

6

Solved

I think according to W3 spec, you're supposed to do <input type="checkbox" checked="checked" /> And selected="selected" But, most browsers will accept it you ...
Capsaicin asked 19/11, 2010 at 19:30

2

Solved

I am trying to find what the value set in the font-size CSS property is corresponding to. To give the context, I want to get in CSS the size in em of parts of the font (above the capital height an...
Thoroughfare asked 3/2, 2017 at 14:13

8

Solved

Which of the following should I use in my stylesheets? /* Example #1: */ background-image: url(image.png); /* Example #2: */ background-image: url("image.png"); /* Example #3: */ background-image:...
Dissolvent asked 30/1, 2010 at 18:10

© 2022 - 2025 — McMap. All rights reserved.