Description:
Writing HTML for the Web.
|
|
|
Newlines in URIs
|
| |
Greetings. In XHTML, is it legal to have newlines in attribute values which take a URI, such as the href attribute of an anchor? If so, say I have an anchor as follows: <a href="foo?bar=bar &baz=baz"> Would a conforming user agent interpret the URI as "foo?bar=bar&baz=baz" or as "foo?bar=bar%0Abaz=baz" or possibly something else?... more »
|
|
CSS to raise contast on web pages?
|
| |
I am annoyed by the low-contrast text on "pretty" web pages. At the moment, I'm looking at: [link] but I experience this frequently on sites that ought to know better. I can toggle to my own style sheet (easy in Opera) or print the page for serious reading. Is there any way my style sheet can force black-on-white text while retaining the layout?... more »
|
|
<!DOCTYPE html>
|
| |
What should I expect to happen when I replace <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "[link]"> <html xmlns="[link]"> with <!DOCTYPE html> <html> ? Is HTML 5 downward-compatible enough for most typical XHTML 1.0 code to work properly? Where are the traps and... more »
|
|
b or strong?
|
| |
(Crossposted and followups to ciwah.) dorayme: ...B, if you just want bold, but do you really want bold? Marking up content as bold would seem to go against the idea of descriptive markup. If what you want is emphasis, EM or STRONG would do. You can style these however you like. ...Right, that's what the specification says. But I tend to agree with Jukka... more »
|
|
How do I disable hyphenation in my table cells?
|
| |
I'm trying to create a table in a Twiki document, and I can't seem to figure out how to keep my web browser from hyphenating text inside the table cells. Twiki has its own language for defining elements, but I can embed HTML where necessary. I tried using the <nowrap> tag, but that's getting ignored.... more »
|
|
Comment within a comment
|
| |
I have a page with a number of comments in it, such as: <div><!-- start div --> <p.Blah, blah, blah</p> </div><! -- close div --> This repeats itself a number of times for each <div>. On a temporary basis I would like to comment out chunks of the page. If I place <! -- where I want the the block of commented... more »
|
|
|