E-mail List Archives
Thread: Importancy of Doctype & Text Encoding
Number of posts in this thread: 4 (In chronological order)
From: Kallie Swanepoel
Date: Thu, Jan 18 2007 9:40PM
Subject: Importancy of Doctype & Text Encoding
No previous message | Next message →
What doctype, text encoding, and font should one use to make pages
accessible, but also to ensure that pages are beeing displayed correctly
by all browsers? Not the font on the page as it's beeing displayed on
the page, but the font of the text encoded in the html.
I'm writing raw html code, for I haven't found a program yet that is
accessible enough for me to use, and I believe some programs put these
properties in by default.
Kallie Swanepoel
South Africa
Skype Name: KallieSwanepoel
http://www.kallieswanepoel.co.za
From: ben morrison
Date: Fri, Jan 19 2007 3:30AM
Subject: Re: Importancy of Doctype & Text Encoding
← Previous message | Next message →
On 1/19/07, Kallie Swanepoel < = EMAIL ADDRESS REMOVED = > wrote:
> What doctype, text encoding, and font should one use to make pages
> accessible, but also to ensure that pages are beeing displayed correctly
> by all browsers? Not the font on the page as it's beeing displayed on
> the page, but the font of the text encoded in the html.
Personally, I use HTML 4.01 strict doctype[1] as this avoids
quirksmode[2] and It negates the xml prolog issue with regards to
XHTML and IE [3].
HTML 4.01 Strict doctype with a URL:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
[1] http://www.oreillynet.com/lpt/a//javascript/synd/2001/08/28/doctype.html
[2] http://hsivonen.iki.fi/doctype/
[3] http://www.hixie.ch/advocacy/xhtml
For text encoding I use utf-8 [4] if its possible with your development setup:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
[4] http://en.wikipedia.org/wiki/UTF-8
ben
--
Ben Morrison
From: Keith Parks
Date: Fri, Jan 19 2007 10:00AM
Subject: Re: Importancy of Doctype & Text Encoding
← Previous message | Next message →
On Jan 18, 2007, at 8:28 PM, Kallie Swanepoel wrote:
> What doctype, text encoding, and font should one use to make pages
> accessible, but also to ensure that pages are beeing displayed
> correctly
> by all browsers? Not the font on the page as it's beeing displayed on
> the page, but the font of the text encoded in the html.
>
> I'm writing raw html code, for I haven't found a program yet that is
> accessible enough for me to use, and I believe some programs put these
> properties in by default.
I'm not positive I understand your font question (had to read it a
few times ;^), but if you are writing your code in a word processing
program, make sure you are saving the file as a plain text ("Text
Only") file. That way there should be no font or other formatting
information in the file.
Also, along the lines of doctype and text encoding, I believe
accessibility guidelines recommend that the document's natural
language be specified, as in...
<html lang="en">
HTH,
Keith
******************************
Keith Parks
Graphic Designer/Web Designer
Student Affairs Communications Services
San Diego State University
San Diego, CA 92182-7444
(619) 594-1046
mailto: = EMAIL ADDRESS REMOVED =
http://www.sdsu.edu
http://www.sa.sdsu.edu/communications
----------------------------------------------------------
A riddle wrapped in a mystery inside an enigma, served with a side of
slaw.
From: Rebecca Ballard
Date: Sun, Jan 21 2007 8:20AM
Subject: Re: Importancy of Doctype & Text Encoding
← Previous message | No next message
Kallie,
Have you looked at Macromedia Homesite? I've found it nicely keyboard
accessible and designed for hard coding and not drag-and-drop. It can also
interact with Dreamweaver if you need to collaborate in its Homesite+
incarnation. I wrote some Jaws scripts for it a while back, for parts of it.
Though I haven't tried it with recent versions.
Rebecca
= EMAIL ADDRESS REMOVED =
Sign up for regular tips and tricks at www.withoutamouse.com/newsletter.
Check out my new blog at www.withoutamouse.com/blog
Thinking about Broadband? Check out www.withoutamouse.com/broadband.