how to build an html website code example
Example 1: 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 2: html start a page
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<h1>My First Heading</h1>
<p>My first paragraph.</p>
</body>
</html>