Code

<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<link href="favicon.ico" rel="shortcut icon"> 
		<link href="style.css" rel="stylesheet" type="text/css" media="all" />
		<title>Page Title</title>
	</head>
	<body>
		<h1>Page Title</h1>
	</body>
</html>

Description

  • The doctype declares the version of html being used and is required.
  • The <html> tag indicates that everything inside it will be Hyper Text Markup Language
  • The <head> of an HTML document is where information is added that will not show on the page.
  • The <meta> tags are used for settings that apply to your whole site.
  • The <link> tags allow you to load assets like your CSS file that apply to the whole site.
  • The <body> of an HTML document is where all the content that will display is placed.
Register to use the AI tutor.