1<!-- Use any text editor, create a new file, paste this
2and save it as index.html-->
3
4<!DOCTYPE html>
5<html>
6 <head>
7 <title> A Sample Webpage </title>
8 </head>
9
10 <body>
11 <p> Hello World! </p>
12 </body>
13</html>
1First, you have to tick "File name extensions" if you haven't.
2Secondly, you need to make a file somewhere in YOUR user. Make sure that it
3ends with .html
4Then, copy this code:
5<!DOCTYPE html>
6<html>
7 <head>
8 <title>Name your document title</title>
9 </head>
10 <body>
11 Put your document apperance here...
12 </body>
13</html>
14Finally, open the HTML document and then you have your page!
1<!DOCTYPE html>
2<html>
3 <head>
4 <title>Page Title</title>
5 </head>
6 <body>
7
8 </body>
9</html>
1<!DOCTYPE html>
2<html>
3<head>
4<title>Page Title</title>
5</head>
6<body>
7
8<h1>This is a Heading</h1>
9<p>This is a paragraph.</p>
10
11</body>
12</html>
1Make a folder
2Create a file with .html at the end of it and open it with a text editor