Community
    • Login

    figuring how to create multiple pages on html for website

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 1.9k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Pj DoyleP Offline
      Pj Doyle
      last edited by PeterJones

      i have possted page 1 (home page) and page 2 (about us) .I am unable to figure out when i run the code and go on the website and try to go to the services and contact us(which i think are surposed to have different names now but idk why they are still what they are i didnt give the third page btw) page it just says your file cant be acceded does anyone see the issues any help appreciated i am new to this .

      This page is just to learn and practice i used a gym website randomly

      page 1

      <!DOCTYPE html>
      <html lang="en">
      <head>
      <title>ABC Health and Fitness - Home</title>
      
          <meta charset="UTF-8">
          <meta name="viewport" content="width=device-width, initial-scale=1.0">
          <meta name="description" content="ABC Health and Fitness - Your go-to place for health and wellness.">
          <meta name="keywords" content="health, fitness, gym, wellness, ABC Health and Fitness">
          <meta name="author" content="Your Name">
        
        <title>ABC Health and Fitness</title>
      
          <link rel="stylesheet" href="style.css">
      </head>
      <body>
          <header>
              <div class="logo">
                  <img src="images/logo.png" alt="ABC Health and Fitness Logo">
              </div>
              <nav>
                  <ul>
                      <li><a href="index.html">Home</a></li>
                      <li><a href="services.html">Services</a></li>
                      <li><a href="contact.html">Contact Us</a></li>
                  </ul>
              </nav>
          </header>
          <main>
              <h1>Welcome to ABC Health and Fitness</h1>
              <p>Your ultimate destination for health and wellness. Join us to stay fit and healthy!</p>
              <div class="social-media">
                  <a href="https://facebook.com" target="_blank">Facebook</a>
                  <a href="https://twitter.com" target="_blank">Twitter</a>
                  <a href="https://instagram.com" target="_blank">Instagram</a>
              </div>
          </main>
          <footer>
              <p>&copy; 2024 ABC Health and Fitness. All rights reserved.</p>
          </footer>
      </body>
      </html>
      

      Page 2

      <!DOCTYPE html>
      <html lang="en">
      <head>
      
      <title>ABC Health and Fitness - about us</title>
      
      <center><h1>ABC Health and Fitness.com</h1></center>
      
          <meta charset="UTF-8">
          <meta name="viewport" content="width=device-width, initial-scale=1.0">
          <meta name="description" content="Discover our wide range of fitness services at ABC Health and Fitness.">
          <meta name="keywords" content="fitness services, personal training, gym classes, ABC Health and Fitness">
          <meta name="author" content="Your Name">
        
        <title>about us</title>
      
          <link rel="stylesheet" href="style.css">
      </head>
      <body>
          <header>
              <div class="logo">
                  <img src="images/logo.png" alt="ABC Health and Fitness Logo">
              </div>
              <nav>
                  <ul>
                      <li><a href="index.html">Home</a></li>
                      <li><a href="services.html">Services</a></li>
                      <li><a href="contact.html">Contact Us</a></li>
                  </ul>
              </nav>
          </header>
          <main>
              <h1>Our Services</h1>
              <h2>Explore What We Offer</h2>
              <p>We provide a variety of services to help you achieve your fitness goals:</p>
              <ul>
                  <li>Personal Training</li>
                  <li>Group Fitness Classes</li>
                  <li>State-of-the-Art Gym Facilities</li>
                  <li>Nutrition and Wellness Coaching</li>
              </ul>
          </main>
          <footer>
              <p>&copy; 2024 ABC Health and Fitness. All rights reserved.</p>
          </footer>
      </body>
      </html>
      
      Terry RT 1 Reply Last reply Reply Quote 0
      • Terry RT Offline
        Terry R @Pj Doyle
        last edited by

        @Pj-Doyle
        Your question seems to be related to html code and websites. Possibly you are using Notepad++ to generate this code, but as the issue isn’t really a Notepad++ issue you need to go to a HTML forum to get the answer.

        Can I refer you to this FAQ post here.

        Terry

        1 Reply Last reply Reply Quote 3

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors