<title>jQuery Before Function to add Multiple</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" crossorigin="anonymous">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
$(document).ready(function(){
$("#btn-beforemultiple").click(function(){
var mypara1 = "Tutorialdeep is a Blogging and Web Tutorial. ";
var mypara2 = "Here, you will <b>Learn jQuery</b> ";
var mypara3 = "<em>With Examples</em>. ";
$("#para-beforemultiple").before(mypara1,mypara2,mypara3);
<h2>jQuery Before Function to add Multiple</h2>
<p>When you click the below button, it adds multiple content together before the below given content.</p>
<button id="btn-beforemultiple">Click me to Add Multiple Before</button><br><br>
<span id="para-beforemultiple">Learning is my passion.</span>