<html lang="en">
<head>
<title>jQuery after() Method to Add Content After the Selected Element</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script>
$(document).ready(function(){
$('.mybtn').click(function(){
$("p").after("<em>Learn jQuery from TutorialDeep. </em>");
});
});
</script>
</head>
<body>
<h2>jQuery after() Method to Add Content After the Selected Element</h2>
<p>This is my paragraph.</p><br>
<button type="button" class="mybtn">Click to Add Content</button>
</body>
</html>