HTML - Building First Page
query_builder | Christopher PisaniOnce you grasp the concept of how the elements work in general and how to best use them, we can start with the structure of the website. Start by beginning with the standard template, and fill in the basics first.
Standard HTML template example :
<!DOCTYPE html>
<html lang="en">
<head>
<title></title>
</head>
<body>
Hello World !
</body>
</html>
Start by naming our first page in the <head> element.
<!-- Add a page title for your head element -->>
<head>
<title> My First Page </title>
</head>
Next, we will insert 3 elements in the <body> section, to divide the page into 3 sections. We will use a <header> for our logo and menu, a <main> where to put our information and a <footer> for credits.
<body>
<header></header>
<main></main>
<footer></footer>
</body>
In the next section, we will start with the basic elements to start entering our data.