This forum is now read-only. Please use our new forums! Go to forums
banner
Close banner
Multiple pages in website
I have read through html, CSS and how to make a website. I think I missed something which I am searching for but can’t find. Where can I find information on how to create multiple pages in a website on Codecademy. Is this covered?
Answer 55c9497c9113cbe38100075d
Answer 55c9eea49376761ef000028f
0 votes
Let’s imagine a little website with a nav bar like this:
<div class="nav">
<div class="container">
<ul class="pull-left">
<li><a href="name.html">Name</a></li>
<li><a href="browse.html">Browse</a></li>
</ul>
<ul class="pull-right">
<li><a href="signup.html">Sign Up</a></li>
<li><a href="login.html">Log In</a></li>
<li><a href="help.html">Help</a></li>
</ul>
</div>
</div>
You would then create files with all of those names and put them in the same directory as your index.html.
Popular free courses
- Free Course
Learn SQL
In this SQL course, you'll learn how to manage large datasets and analyze real data using the standard data management language.Beginner friendly,4 LessonsLanguage Fluency - Free Course
Learn JavaScript
Learn how to use JavaScript — a powerful and flexible programming language for adding website interactivity.Beginner friendly,11 LessonsLanguage Fluency - Free Course
Learn HTML
Start at the beginning by learning HTML basics — an important foundation for building and editing web pages.Beginner friendly,6 LessonsLanguage Fluency
1 comments
I still don’t know what Codebits are, but to further explain my question, what I mean is how do you create pages which you click on the main website page and they open up just like in online newspapers. like you will be having a menu with ‘Home’ ‘About’ ‘Contacts’ and when you click on these buttons/pills they open up to other pages/sub-sections.