To understand this script, you need some knowledge of HTML tags and their behavior. If you do not, then do not worry about it, just keep reading and try this program yourself.
Output in Browser
The output is shown in bold because it is a tag h1 element now. HTML tags are used to format the text elements.