EDITABLE CODE:
LiveDemo:jQuery - Insert before() and after() Method
Note: The parameters of the method can be an element, HTML string or jQuery Object.