Codecademy

Sign In Create Account
01/09
The basic framework

Before you build a house you need a foundation, and before you build a website you need some HTML foundation.

No no wait...before you can paint you first have to setup your canvas...ah, you get the idea.

Let's get things rocking and rolling with the basic tags that we need to start a website.

  1. Create an html tag to contain everything (dont forget the doctype!)
  2. Create a head and a body tag
  3. In the head tag add references to the following assets:

script.js

style.css

Save & Submit Code Reset Code View Preview
Back to editor
Back to editor
FULL PREVIEW

Start Here

Each lesson starts here. Read the explanation, then follow the instructions underneath. If you get stuck, you can click on the "Hint" for help.

Enter your Code

Type your response to the instructions here, in your code editor.

See What it Does

Here's where you can see how your code will render in your browser. This will update as you type.

Submit!

Ready to see if your code does what it should? Click "Save + Submit" to check your code!

Click "Save + Submit" to run your code! Your code’s output will pop up on the screen.

Sign in to Codecademy