How to use HTML text in JavaScript
This link below will help you to use html text in JavaScript.
You can do this by typing document.write because we want
letters in the document so we are using it.
<html>
<head>
<title>Using html text in JavaScript</title>
</head>
<body>
<script language="JavaScript">
document.write("<h1>My name is Matthew
Benedict</h1><br>");
document.write("<p><u>I live in
chennai</u></p><br>");
document.write("<p><b>I love software
programing </b></p><br>");
</script>
</body>
</html>