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="">Altavista Europe</a><br>
<br><a href="">Northern Light</a><br>
<br><a href="">Yahoo</a><br>
<br><a href="">Hotbot</a><br>
<script language='JavaScript'><!--'', '_blank');'', '_blank');'', '_blank');


// -->