.before() in jQuery

It helps to insert content, specified by the parameter, before each element in the set of matched elements..

.before()

// To create content and insert it before several elements at once.

$( “.footer” ).before( “

Copyright….

” );