KDE Kate scripts

I wonder if I could create a snippet to add tags as in Emmet script “Wrap with tag”.
That script add <div> tag (around a selected text), but I’d like create news ones and create shortcuts for them.

Thank you!

I found here the aswer I was searching for.