html file code example

Example 1: start html

<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>

</body>
</html>

Example 2: html file

<!DOCTYPE html>
<html>
	<head>
		<title>My first html page</title>
	</head>
	<body>
      
	</body>
</html>

Example 3: setup html webpage

<!DOCTYPE html>
<html>
  <head lang="en">
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <!--optional css --><link rel="stylesheet" href="style.css" />
    <title>Document</title>
  </head>
  <body>
  </body>
</html>

Example 4: how to start a html file

<!DOCTYPE html>
<html>
	<head>
		<title>Page Title</title>
	</head>
	<body>
      
	</body>
</html>

Example 5: how to create a html file

Make a folder
Create a file with .html at the end of it and open it with a text editor

Example 6: html

Im Borderline Impaired

Tags:

Html Example