Hi this is very helpful, but how can it be modified to colorize tags also when they have parameters?
I mean... usually one will type, i.e.:
<img src=.....>
while using this code if i put <img> in the redlist to colorize it red, it will only work if i write the <img> tag, and then go back to add the src= part.... the same goes for all parametric tags, like table, div, input, form, etc...
on the other side, if i put 'open tags' in the list, i.e.: BlueWords.Add("<img") it will not colorize the final >.
I have tried to customize it adding a 3rd word list, (olive list):

Dim OliveWords As New List(Of String)
OliveWords.Add("<")
OliveWords.Add(">")

but it looks like the program cannot understand it because they are not colorized in any color, they appear black... probably because < and > are already present in the other two lists...