Jump to content

What is the best way to create subpages?


Peter1990
 Share

Recommended Posts

Hello,

After I made few tutorials on w3schools.com, I am running on my first project. For now I need to create sub pages for my website. So, I would like to ask you, what is the best way to to this?

I watched few video tutorials on Youtube. One way is to create with links, using <a href="link to the page">link</a>.

 

So, my question here is the following: what about CSS? For each HTML page I need CSS code to style the HTML code. So, when you create maybe 20 (or more) sub pages, for each HTML you need CSS code too (20 or more).  Whether it will be too much code? Is they any way to reuse the same CSS code?, to display in the all HTML sub pages?

 

thank you in advance.

 

 

 

 

Link to comment
Share on other sites

  • 1 month later...
<li><a href="more.html">Overview</a></li>
<li><a href="more.html">Small Business</a><ul>
<li><a href="more.html">Overview</a></li>
<li><a href="more.html">Small Business</a></li>
<li class="last"><a href="more.html">Corporate</a></li>

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...