I did not realise the codemirror plugin addons allows auto completion of syntax including HTML and CSS syntax, so for your attributes and parameter names are presented to select from, How useful.
This shows what I mean,