Re: [extend-a-story-devel] Working Towards XHTML 1.0 Strict Compliance
Interactive and Extendable Story
Brought to you by:
jjweston
|
From: Jeff W. (S. Toby) <jjw...@ke...> - 2003-07-23 03:49:59
|
On Tue, 22 Jul 2003, Jeff Weston (Sir Toby) wrote: > On Tue, 22 Jul 2003, Matthew Fringe Duhan wrote: > > > I agree with this approach. As it is now, the files should pass a test > > for XHTML Transitional with the addition of the correct DTD: > > > > <?xml version="1.0" encoding="UTF-8"?> > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" > > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> > > <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" > > > > > at the start of the document before the copyright notice. I tested this > > in the w3c validator and it passed. XHTML strict is, of course, more > > strict, and doesn't allow ANY presentation formatting in the code, such > > as color or align. For backwards compatibility I'd recommend sticking > > with XHTML 1.0 Transitional. If we want to be forward thinking and only > > focus on 5+ browsers then XHTML 1.1 Strict should be okay. What do you > > think? > > I've been focusing on the strict variant. I've added the DTD declaration > for XHTML 1.0 Strict to the document I'm working on to make sure it passes > the validator. Working toward the strict specification will allow us to be > better prepared for the future. I don't imagine I'm going to have too many > problems with people using older browsers. I've just updated the doctype for the page I'm working on to XHTML 1.1. XHTML 1.1 appears to be basically XHTML 1.0 Strict with a module framework, so the work I've already done to the file already passes the XHTML 1.1 validator. Again, here is the URL for the file I'm working on: http://www.sir-toby.com/extend-a-story/beta-story/docs/begin.html I've added a class to the table, and removed the width specification. Let me know what you think about my earlier discussion regarding the <div> tag. I'm perfectly happy to go with a generic "centered" class if you don't want the flexibility of setting the class of the tags inside the <div> tag. I think I'll start working on the documentation for creating episodes now. -- Jeff Weston (Sir Toby) |