Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML

How to create second and third pages on your website?

Does anyone know how?

3 Answers

Sander de Wijs
PLUS
Sander de Wijs
Courses Plus Student 22,267 Points

You create a new HTML files and give them a meaningful name like about.html, products.html or contact.html Then you create links to these pages on your index.html.

The 'build a simple website' course covers these steps very well. http://teamtreehouse.com/library/build-a-simple-website

lee mullen
lee mullen
8,281 Points

I'm guessing you are going to use Navigation i.e Home, Contact us, Etc, If so you will be making separate HTML files to make these pages so you would link these in on your Hyperlinks from the Navigation, e.g

<li class="menuitem"><a href="index.html">Home</a></li>

This would link the HTML Files and give you the link to second, third or how many you wish to have.

AND THEN to link to these html files you have created you type in the code:

<a href="linktoyourhtmlfileshere.html"></a>