Before we get to the fun stuff, we have to make sure our new HTML document is setup right. Notice that most tags have two parts to them. One opening tag and one closing tag. Think of it like a sandwich, and the tag is the bread. You can't have a sandwich without that bottom piece of bread, so always remember to close your tags!
Here are some things you should make sure you always have when you're starting a new web page:
<!-- top secret comment -->It is important to use comments a lot in your code, so that you can keep track of where you were and what you were doing. It also helps other people know whats happening if you share it with a friend or colleague.
Check out the code on the right. It's just a blank HTML template, but it's missing some elements. Complete the template before moving on to the next lesson so we can get started on making a cool site.
<!DOCTYPE html> <html> <head> <meta http-equip="Content-Type" content="text/html; charset=UTF-8"> <title>My First Web Page</title> </head> <body> <h1>Welcome to my site!</h1> <!-- top secret comment --> </body> </html>