html standard structure code example
Example 1: html basic structure
<!DOCTYPE html>
<html>
<head>
<title>Some Title</title>
<link href="css_file.css" rel="stylesheet"> <!-- external CSS -->
</head>
<body>
<!-- main content -->
</body>
</html>
Example 2: structure of an html document
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>A website</title>
</head>
<body>
...
</body>
</html>