The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

Web-page-writing people; a survey... by leistico2007-07-25 05:53:36
  1) XHTML 1.1, if possible. 1.0-Strict otherwise. by bwkaz 2007-07-25 16:05:06
Where "if possible" means "if the client will accept application/xhtml+xml", since you can't serve up XHTML 1.1 as text/html anymore. But you can serve up XHTML 1.0 as text/html, so if IE is going to be involved at all, I make them XHTML 1.0 Strict. (Actually I have a framework set up at work that chooses MIME type and DOCTYPE both based on the Accept: header from the client.)

2) It always validates, if that's what you meant. :-)

3) Semantic whenever possible. Sometimes the users' browsers can't deal with that though, and I have to drop in a couple of hints to get them to work properly. Or switch doctypes (for instance if they absolutely require an iframe).

4) Tables when displaying tabular data, since that's what they're *for*. :-P CSS everywhere else (including on the pages with tables).

Rule of thumb here: if it looks right with a table border (raised edge around the whole table, sunken edge around each cell), then it should use a table. If I need to remove the borders to make it look right, then it should be some other set of tags.
[ Reply ]

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)