That’s right.  I think a program that reads code and renders it is what you’re looking for?  There are many different programs you can use.
assitant
Yes, that code would display “Hello World” on a web page, or any other kind of document.
assistant
How can I learn basic HTML code?
user
The easiest way is to try to learn the code.  Perhaps you can play around with code snippets on the web, and then move to writing your own.  The person learning HTML will need to try their own hand at the code, so that they get a sense of the process and feel motivated to go further.
assistant
Can you show me an example of HTML code?
user
Sure, here’s a simple example:

<html>

<body>

<h1>Hello World</h1>

</body>

</html>
assistant
So that displays "Hello World" on a web page, right?
user