How To Print Hello World in HTML
Everyone starts at some point to learn something new. However, this concept is valid and invalid for programmers, learning new languages. As every time learn a new programming language, the ritual of writing the first Hello World program remains the same. So it’s always a great thing to start learning any new programming language with a hello world program. Therefore today we’ll start the journey of HTML programming. By learning how to print Hello World in HTML.
One of the easiest and simple programs, you’ll ever write in HTML. The reason is that whatever program you’ll write next is going to be a level up than this one.
What’s The Approach?
- Create basic HTML boilerplate.
- Inside the body tag, simply write
hello world
Also Read: How to run HTML code in Visual Studio Code on Windows 10
HTML Program To Print Hello World
Output:
Hello World
<html> <header><title></title></header> <body> Hello World </body> </html>