xhtml Questions
6
Solved
I need to sanitize HTML submitted by the user by closing any open tags with correct nesting order. I have been looking for an algorithm or Python code to do this but haven't found anything except s...
5
Solved
I'm using Flying Saucer to convert XHTML to a PDF document. I've gotten the code to work with just basic HTML and in-line CSS, however, now I'm attempting to add an image as a sort of header to the...
Lob asked 13/7, 2012 at 19:26
17
Solved
It seems like there are a few different techniques out there, so I was hoping to get a "definitive" answer on this...
On a website, it's common practice to create a logo that links to the homepage...
14
Solved
I want to make an HTML div tag fade in and fade out.
I have some code that fades out, but when I fade in, the opacity of the div stays at 0.1 and doesn't increase.
<!DOCTYPE html PUBLIC "-//W...
Arraignment asked 25/5, 2011 at 7:51
33
I have a <div> block with some fancy visual content that I don't want to change. I want to make it a clickable link.
I'm looking for something like <a href="…"><div> … </div&g...
2
Solved
This seems like it ought to be easy, but I'm just not getting something.
I want to make an HTML page containing a single SVG image that automatically scales to fit the browser window, without any ...
Futch asked 13/4, 2011 at 0:47
6
Solved
I'm trying to create a table to display an individual's BMI.
As a part of this, I'd like, on :hover, for the <tr> and <col> (or <colgroup>) to be highlighted also, in order for t...
Girish asked 11/5, 2009 at 16:11
6
Solved
I need to adjust the width of a select HTML box without using css, is there a way? I tried size but then it's adjusting the height, and width does nothing? Is there another way?
4
Solved
String body = "<br>";
Document document = Jsoup.parseBodyFragment(body);
document.outputSettings().escapeMode(EscapeMode.xhtml);
String str = document.body().html();
System.out.println(str);
...
5
Solved
Am I allowed to place <noscript> in the <head>?
4
Solved
I was just reading somebody's HTML who never closed meta and link tags in the HTML head section. The code worked fine; is closing these tags optional?
I thought it would be malformed if a tag was ...
4
Solved
Since I learned to serve XHTML pages as XML, I have started noticing something odd: whenever I view an XHTML page in the Firefox source code viewer, the DOCTYPE is always marked as an error. Accord...
12
Solved
How can the cursor be focus on a specific input box on page load?
Is it posible to retain initial text value as well and place cursor at end of input?
<input type="text" size="25" id="myinputb...
Stollings asked 2/12, 2010 at 2:8
6
Solved
4
Solved
If I set display:inline for any element then will margin, padding, width, height not affect on that element?
Is it necessary to use float:left or display:block or display:inline-block to use margi...
4
Solved
I use Visual Studio for teaching HTML. We use HTML 4.01 Transitional. Visual Studio defaults to XHTML 1.0, and I need to solve one problem with a typical difference among these two HTML standards: ...
Semela asked 23/10, 2012 at 13:36
8
Solved
How do you link (with <a>) so that the browser goes to certain subheading on the target page as opposed to the top?
25
Solved
What's the difference between <b> and <strong>, <i> and <em> in HTML/XHTML? When should you use each?
19
Solved
I understand that an id must be unique within an HTML/XHTML page.
For a given element, can I assign multiple ids to it?
<div id="nested_element_123 task_123"></div>
I realize...
Illtreat asked 10/10, 2008 at 16:4
8
Solved
i can't find any information inside the w3c html strict spec
http://www.w3.org/TR/html4/sgml/dtd.html
Cari asked 7/12, 2010 at 6:39
15
I have a form with radio buttons that are on the same line as their labels. The radio buttons are however not aligned vertically with their labels as shown in the screenshot below.
How can I ve...
Babettebabeuf asked 22/11, 2012 at 9:50
11
I am using following simple HTML :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<body>
<img src="l...
9
Solved
Alright, so my favicon isn't showing up for some reason. It's at image/favicon.ico (I've checked it like 5 times).
This is the code I use for it:
<link rel="shortcut icon" href="i...
8
Solved
You can set the width of inline elements like <span>, <em> and <strong>, but you won’t notice any effect until you position them.
a) I thought the width of inline an inline el...
22
Solved
Is there a way to create a list-style in HTML with a dash (i.e. - or – &ndash; or — &mdash;) i.e.
<ul>
<li>abc</li>
</ul>
Outputting:
- abc
It's o...
Alleviative asked 8/7, 2010 at 2:6
1 Next >
© 2022 - 2025 — McMap. All rights reserved.