The following syntax rules:
" #f6266e
syntax match tagOperator "\v\<\/?\w+\s*[^>]*\>" contains=tagFunction,tagFunctionDefinition
hi def link tagOperator Operator
" #a6e22e
syntax match tagFunctionDefinition "\v\<" contained
syntax match tagFunctionDefinition "\v\>" contained
syntax match tagFunctionDefinition "\v/" contained
hi def link tagFunctionDefinition Function
produce this:

As you can see the html attributes names are highlighted as the html tags (each, onsubmit). So I added a syntax to fix that (turn them to blue):
" #66d9ef
syn keyword tagFunction var this
syn match tagFunction "/\v\<\/?\w+\s+\w+\/?>" contained
hi def link tagFunction Define
But nothing happens, the color stay the same. I even used contains and contained so I'm not sure what's the problem. Is the tagFunction regex wrong?
each,onsubmit.