delimitMate will take care of this for you. However, you will need two additional settings ...
add>: <pair to the list of html files:
au FileType html let delimitMate_matchpairs = "(:),[:],{:},>:<"
and tell me which template you want to add after insertion
au FileType html let b:delimitMate_expand_cr = "\<CR>\<CR>\<Up>\<Tab>"
(instead of inserting two a, insert two s, press up, then paste the tab)
source
share