You are on page 1of 2

Curso de HTML y CSS

STRUCTURE

Review: Structure
Congratulations on completing the first unit of HTML & CSS! You are well on your way
to becoming a skilled web developer.
Let's review what you've learned so far:
1. The <!DOCTYPE html>declaration should always be the first line of code in your
HTML files.
2. The <html> element will contain all of your HTML code.
3. Information about the web page, like the title, belongs within the <head> of the
page.
4. You can add a title to your web page by using the <title> element, inside of the
head.
5. Code for visible HTML content will be placed inside of the <body> element.

What you learned in this lesson constitutes the required setup for all HTML files. The
rest of the course will teach you more about how to add content using HTML and how
to style that content using CSS!
1.
Add the required declaration on line 1 of index.html.
2.
Start an HTML document.
3.
Add a head to the web page.
4.
Add a title to the web page. The title can say anything you'd like.
5.
Add a body to the web page.
6.
In index.html, copy the following line of code and paste it inside of the body:
<h1>Hello World!</h1>
What happened to your web page? You'll learn more details in the next unit.

You might also like