html syntax hello world code example
Example 1: HTML hello world
<!DOCTYPE html>
<html>
<body>
Hello World!
</body>
</html>
Example 2: simple hello world cod in html
<html>
<head>
<title>Page Title</title>
</head>
<body>
<h1>This is a Heading</h1>
<p>This is a paragraph.</p>
</body>
</html>