C
#include <stdio.h>
int main()
{
printf("Hello World!");
return 0;
}
C#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace HelloWorld
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
}
}
}
C++
#include <iostream>
int main()
{
std::cout << "Hello World!" << std::endl;
return 0;
}
HTML
<!doctype html>
<html>
<head>
<meta http-equiv='Content-Type' content='text/html; charset=utf-8'>
<title>Hello World!</title>
</head>
<body>
<h1>Hello World!</h1>
</body>
</html>
Java
class HelloWorld{
public static void main(String[] arr){
System.out.println("Hello World!");
}
}
Python
print "Hello World!"