This is the html file returned by the multiple search cgi program on this site. It shows that the html highlighting also knows about embedded javascript (javascript lines embedded in tags (like "onClock") are highlighted too).

Note that the colors may look strange on your screen, but they look very nice on mine.


<html><title>Multiple Search for vim</title>
<body bgcolor=#FFFFFF>
<h1>Searching for <i>vim</i> in the following locations:</h1><p>
<br><a href="http://altavista.telia.com/cgi-bin/query?mss=gb%2Fsearch&pg=q&country=ch&q=vim&what=web&kl=">Altavista Europe</a><br>
<br><a href="http://www.nlsearch.com/nlquery.fcg?qr=vim&si=&cb=0&cc=&us=025">Northern Light</a><br>
<br><a href="http://av.yahoo.com/bin/query?p=vim&hc=0&hs=0">Yahoo</a><br>
<br><a href="http://www.search.hotbot.com/hResult.html?SM=MC&MT=vim&DV=7&RG=.com&DC=50&DE=2&OPs=MDRTP&_v=2&DU=days&SW=web">Hotbot</a><br>
<br>
<script language='JavaScript'><!--
window.open('http://www.nlsearch.com/nlquery.fcg?qr=vim&si=&cb=0&cc=&us=025', '_blank');
window.open('http://av.yahoo.com/bin/query?p=vim&hc=0&hs=0', '_blank');
window.open('http://www.search.hotbot.com/hResult.html?SM=MC&MT=vim&DV=7&RG=.com&DC=50&DE=2&OPs=MDRTP&_v=2&DU=days&SW=web', '_blank');

self.location.href='http://altavista.telia.com/cgi-bin/query?mss=gb%2Fsearch&pg=q&country=ch&q=vim&what=web&kl=';

// -->
</script>
</body></html>