<!DOCTYPE Highlight>
<Highlight wildcards="*.html; *.htm;" name="HTML">

 <Items>
  <Text         style="" color="#000000" />
  <Char         style="" color="#008000" />
  <Memo         style="" color="#808080" />
  <Attribute    style="" color="#000080" />
  <Tag          style="" color="#800080" />
  <TagA         style="b" color="#8000ff" />
  <TagJS        style="" color="#0080a0" />
  <TagBold      style="b" color="#800080" />
  <TagItalic    style="i" color="#800080" />
  <TagUnknow    style="" color="#ff0000" />
  <Value        style="" color="#008080" />
  <EndTag       style="" color="#000000" />
  <Brace        style="" color="#000000" />
  <jsText       style="" color="#000000" bgcolor="#f0f0f0" />
  <jsKeyword    style="" color="#808000" bgcolor="#f0f0f0" />
  <jsTypes      style="" color="#000080" bgcolor="#f0f0f0" />
  <jsDataType   style="" color="#000080" bgcolor="#f0f0f0" />
  <jsDecimal    style="" color="#0000ff" bgcolor="#f0f0f0" />
  <jsOctal      style="" color="#008080" bgcolor="#f0f0f0" />
  <jsHex        style="" color="#008080" bgcolor="#f0f0f0" />
  <jsFloat      style="" color="#800080" bgcolor="#f0f0f0" />
  <jsChar       style="" color="#ff00ff" bgcolor="#f0f0f0" />
  <jsString     style="" color="#008000" bgcolor="#f0f0f0" />
  <jsMemo       style="" color="#808080" bgcolor="#f0f0f0" />
  <LineContinue style="" color="#000080" />
 </Items>

 <Break>
  <normal>
   <citem item="" regexp="&lt;SCRIPT\s*.*>"  mode="until, include, noCaseSensitive" lineEndContent="js" />
   <citem item="" regexp="&lt;!--"         mode="until, include" lineEndContent="comment1" />
   <citem item="" regexp="&lt;COMMENT\s*>" mode="until, include, noCaseSensitive" lineEndContent="comment2" />
   <citem item="" regexp="&lt;"            mode="until, exclude" lineEndContent="tag" />
   <citem item="" regexp="$"               mode="until" />
  </normal>

  <js>
   <citem item="" regexp="&quot;"                            lineEndContent="string" />
   <citem item="" regexp="//[^&lt;]*"        mode="until, include" lineEndContent="js" />
   <citem item="" regexp="/\*"         mode="until, include" lineEndContent="multiLineComment" />
   <citem item="" regexp="[^\\]&quot;" mode="until, include" lineEndContent="string" />
   <citem item="" regexp="&lt;/SCRIPT>" mode="until, exclude, allowfull, noCaseSensitive"/>
   <citem item="" regexp="&lt;/SCRIPT>" mode="noCaseSensitive" lineEndContent="normal" />
  </js>

  <string>
   <citem item="" regexp="&quot;"                            lineEndContent="js" />
   <citem item="" regexp="[^\\]&quot;" mode="until, include" lineEndContent="js" />
   <citem item="" regexp="$"           mode="until" />
  </string>

  <multiLineComment>
   <citem item="" regexp="\*/" mode="until, exclude, allowfull"/>
   <citem item="" regexp="\*/" lineEndContent="js" />
  </multiLineComment>

  <comment1>
   <citem item="" regexp="-->" mode="until, exclude, allowfull"/>
   <citem item="" regexp="-->" lineEndContent="normal" />
  </comment1>

  <comment2>
   <citem item="" regexp="/COMMENT>" mode="until, exclude, allowfull, noCaseSensitive"/>
   <citem item="" regexp="/COMMENT>" mode="noCaseSensitive" lineEndContent="normal" />
  </comment2>

  <tag>
   <citem item="" regexp=">" mode="until, exclude, allowfull"/>
   <citem item="" regexp=">" lineEndContent="normal" />
  </tag>

 </Break>

 <Contents>

  <normal>
   <citem item="Text" regexp="\s+" />
   <citem item="Char" regexp="&amp;[^;]+;" lineEndContent="normal" />
   <citem item="TagJS" regexp="&lt;SCRIPT\s*.*>" mode="noCaseSensitive" lineEndContent="js" />
   <citem item="Memo"  regexp="&lt;!--" lineEndContent="comment1" />
   <citem item="Memo"  regexp="&lt;COMMENT\s*>" mode="noCaseSensitive" lineEndContent="comment2" />
   <citem item="Brace" regexp="&lt;" mode="exclude" lineEndContent="tag_name" />
   <citem item="Text" regexp="[^&amp;&lt;]+" lineEndContent="normal" />
  </normal>

  <js>
   <citem item="jsText" regexp="\s+" />

   <citem item="jsKeyword" regexp="\w+" keyword="break case endfor default exit else array for if return switch do continue true false while new function var public"/>
   <citem item="jsTypes"   regexp="\w+" keyword="alert document eval"/>

   <citem item="jsMemo" regexp="//.*" />
   <citem item="jsMemo" regexp="/\*" lineEndContent="multiLineComment" />

   <citem item="jsString"   regexp="&quot;" lineEndContent="string" />
   <citem item="jsFloat"    regexp="\d*\.\d+[eE]\+\d+[uUfFlL]?" />
   <citem item="jsFloat"    regexp="\d*\.\d+[uUfFlL]?" />
   <citem item="jsHex"      regexp="0[xX][\da-fA-F]+[uUlL]?" />
   <citem item="jsOctal"    regexp="0[0-7]+[uUlL]?" />
   <citem item="jsDecimal"  regexp="\d+[uUlL]?" />
   <citem item="jsChar"     regexp="'.'" />
   <citem item="jsChar"     regexp="'\\([abefnrtv'\\&quot;]|x[\da-fA-F]+|[0-7]+)'" />

   <citem item="TagJS" regexp="&lt;/SCRIPT>" mode="noCaseSensitive" lineEndContent="normal" />

   <citem item="jsText" regexp="[\w_]+" lineEndContent="js" />
   <citem item="jsText" regexp="\s+"    lineEndContent="js" />
   <citem item="jsText" regexp="\W"     lineEndContent="js" />
  </js>

  <string>
   <citem item="jsString" regexp="[^&quot;\\]+" />
   <citem item="jsString" regexp="&quot;" lineEndContent="js" />
   <citem item="jsChar" regexp="\\([abefnrtv'\\&quot;]|x[\da-fA-F]+|[0-7]+)" />
   <citem item="LineContinue" regexp="\\" />
  </string>

  <multiLineComment>
   <citem item="jsMemo" regexp="\*/" mode="until, exclude, allowfull"/>
   <citem item="jsMemo" regexp="\*/" lineEndContent="js" />
  </multiLineComment>

  <comment1>
   <citem item="Memo" regexp="-->" mode="until, exclude, allowfull"/>
   <citem item="Memo" regexp="-->" lineEndContent="normal" />
  </comment1>

  <comment2>
   <citem item="Memo" regexp="/COMMENT>" mode="until, exclude, allowfull, noCaseSensitive"/>
   <citem item="Memo" regexp="/COMMENT>" mode="noCaseSensitive" lineEndContent="normal" />
  </comment2>

  <tag>
   <citem item="Text"       regexp="!" />
   <citem item="Text"       regexp="\s+" />
   <citem item="EndTag"     regexp="/" />
   <citem item="Text"       regexp="\s+" />
   <citem item="Brace"      regexp=">" lineEndContent="normal" />
   <citem item="Brace"      regexp="&lt;" lineEndContent="tag_name" />
   <citem item="Attribute"  regexp="[\w_\-:]+\s*" />
   <citem item="Text"       regexp="=" lineEndContent="tag_val" />
   <citem item="Value"      regexp="&quot;" lineEndContent="tagstring1" />
   <citem item="Value"      regexp="'" lineEndContent="tagstring2" />
  </tag>

  <tag_name>
   <citem item="Value"  regexp="&quot;" lineEndContent="tagstring1" />
   <citem item="Value"  regexp="'" lineEndContent="tagstring2" />
   <citem item="EndTag" regexp="/" />
   <citem item="Tag"            regexp="\w+" keyword="html head body frameset base isindex link meta script style title address blockquote center del div h1 h2 h3 h4 h5 h6 hr ins noscript p pre dir dl dt dd li menu ol ul table caption colgroup col thead tfoot tbody tr td th form button fieldset legend input label select optgroup option textarea applet basefont bdo br font iframe img map area object param q span sub sup abbr acronym cite code del dfn em ins kbd samp strong var big s small strike tt u frame noframes doctype ilayer nolayer" caseSensitive="false" lineEndContent="tag" />
   <citem item="TagA"           regexp="\w+" keyword="a" caseSensitive="false" lineEndContent="tag" />
   <citem item="TagBold"        regexp="\w+" keyword="b" caseSensitive="false" lineEndContent="tag" />
   <citem item="TagItalic"      regexp="\w+" keyword="i" caseSensitive="false" lineEndContent="tag" />
   <citem item="TagUnknow"      regexp="[\w:_\-]+" emptyContent="normal" lineEndContent="tag" />
  </tag_name>

  <tag_val>
    <citem item="Text"       regexp="\s+" />
    <citem item="Value"      regexp="&quot;" lineEndContent="tagstring1" />
    <citem item="Value"      regexp="'" lineEndContent="tagstring2" />
    <citem item="Value"      regexp="[^\s/>]+" emptyContent="normal"/>
  </tag_val>

  <tagstring1>
   <citem item="Value" regexp="&quot;" mode="until, exclude, allowfull"/>
   <citem item="Value" regexp="&quot;" lineEndContent="tag" />
  </tagstring1>

  <tagstring2>
   <citem item="Value" regexp="'" mode="until, exclude, allowfull"/>
   <citem item="Value" regexp="'" lineEndContent="tag" />
  </tagstring2>

 </Contents>

</Highlight>