Jump to content

What is the best way to create subpages?

Recommended Posts


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 post
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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...