Niels Fröhling wrote:
 This should help:

http://pear.php.net/package/Text_Highlighter

And Jan Brasna also chipped in with a couple of PHP-packages.

I am thankful for any tip, but my question was not about how I should go about implementing the highlighting in PHP. My question is what would be the best possible markup in the result, semantically speaking.

I might use the PEAR-package, I might write my own PHP-code, or I might use something else to produce the markup. But what would be the best markup to produce?

The makers of HTML did some groundwork. They gave us the tags <var>, <code>, <samp> and <tt>. Now I want to see if there is any idea to perhaps introduce a microformat to produce more specific semantic code.


Lars Gunther


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to