|
From: Dethe E. <de...@ma...> - 2002-07-18 18:52:47
|
<code> is aperfectly reasonable and desireable way to markup data which *is* code. Whether it renders differently in a given browser is a side issue, what it gives you is semantice/structural markup. Markup, even in HTML, is designed to capture this structure. Mark Pilgrim, author of Dive into Python, is writing an excellent series [1]_ on his weblog to improve accessibilty in HTML. He covers this and other issues, making sure content is readable not only in IE and Mozilla, but Opera, Lynx, screen readers, and other specialized user agents. Besides the human accessibility, marking code with <code> allows it to be extracted easily using an XML parser, an XSLT stylesheet, etc. .. [1] http://diveintomark.org/ --Dethe On Thursday, July 18, 2002, at 08:06 AM, Aahz wrote: > On Wed, Jul 17, 2002, David Goodger wrote: >> Richard Jones wrote: >>> >>> I noticed that the option value has a <code> wrapper. I'm pretty >>> sure that's unintentional too :) >> >> Actually, it's intentional, but the effect could be had just as easily >> (and more flexibly) via styles. But then browsers not supporting CSS >> would suffer. Should we care? > > Not really, I suppose. Lynx is my primary browser, and it doesn't have > CSS; OTOH, it's not going to render <code>, either. I suspect that's > about the extent of modern browser technology. > > On the gripping hand, I don't know whether we want to target oddball > devices like cell phones that may not support CSS. > -- > Aahz (aa...@py...) <*> http://www.pythoncraft. > com/ > > Project Vote Smart: http://www.vote-smart.org/ > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Docutils-develop mailing list > Doc...@li... > https://lists.sourceforge.net/lists/listinfo/docutils-develop > -- "Melting down holy grails to make silver bullets for my .357 Panacea" Dethe Elza (de...@bu...) Chief Mad Scientist Enfolding Systems (http://enfoldingsystems.com) Weblog: http://livingcode.ca/ |