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