<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery-latest.js"></script>
</head>
<body>
<p>My Name is: </p>
<script>
$("p").append("<b>Mahak Gupta</b>");
</script>
</body>
</html>
Output:


DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegisterMembers onlyeBook · ASP.NETASP.NET Tags in Web Forms: The Complete GuideDownload nowWrite a blog post and earn +250 SHARP when it is approved.
Write a blog
Join the conversation! Your thoughts help the community grow.