Hello, World – Your First HTML to build a webpage

Valid values for id attribute

Creating a html page is very easy. Open any editor like notepad, dreamweaver etc. Write down the following code:

Example HTML:

<!DOCTYPE html>
<html>
<head>
<title>My first html : Hello world</title>
</head>
<body>
Hello, World!
</body>
</html>

Save the document named “sample.html”. Open the file in a browser and you can see he output there.

Leave a Reply

Your email address will not be published. Required fields are marked *