html hello world code code example
Example 1: how to print hello world in html
<!DOCTYPE html>
<html>
<head></head>
<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>