hello html file code example Example: how to print hello world in html <!DOCTYPE html> <html> <head></head> <body>HELLO WORLD</body> </html>