How to create svg html tag from code?

please share the code here. thanks.