How to build a website with 2 web pages?

  • Thread starter Math10
  • Start date
  • Tags
    Build Web
In summary, the conversation is about creating web pages and linking them together. The speaker is having trouble with the link not working and is asking for advice on hosting and building a website. A helpful website and book are suggested for further learning.
  • #1
Math10
301
0
So I created 2 web pages with the directories C:\..., you get the idea. But on a web page, I created a link for another web page so once people click on the link on my first web page, they can see my other web page. But when I typed the directory on the browser, it came out okay but when I clicked on the link for another web page, it doesn't come out. What do I need to do? Do I have to get a host for my 2 web pages? Are there good free host available online? I want to make my website official. I want people know that it's mine.
 
Technology news on Phys.org
  • #2
The directory you typed for the 2nd webpage, and the link on your 1st webpage for the 2nd webpage don't match. If they are in the same directory it is simply <a href="nameoffile.html">Link text</a>. You don't need web hosting to do this.
 
  • #3
I build 2 web pages and have 2 different directories for these 2 web pages. I made a link on my first web page for people to click on to see my second web page. But it doesn't work.
 
  • #5
Math10, I honestly suggest that you get a book like this since you have no knowledge about the subject. As I've stated before, we cannot teach you how to build things on the internet, especially not the e-commerce thing you were trying before when you lack the most basic knowledge. You need to show some effort and learn the basics first.

http://www.dummies.com/how-to/content/how-to-build-a-website-the-home-page.html
 

1. How do I get started building a website?

To build a website with 2 web pages, you will need to have basic knowledge of HTML, CSS, and JavaScript. These are the core building blocks of a website. You can start by learning the basics of these languages and practicing on a code editor like Notepad or Sublime Text.

2. What is the structure of a website with 2 web pages?

A website with 2 web pages typically consists of a home page and a secondary page. The home page is the main landing page for your website, while the secondary page can be used for additional information or content. Both pages should have a header, content, and footer section.

3. How do I create a navigation menu for my website?

To create a navigation menu for your website, you can use HTML lists and CSS to style it. The navigation menu should include links to both of your web pages and should be placed in the header section of your website. You can also add hover effects or animations to make it more visually appealing.

4. Can I add images or videos to my website?

Yes, you can add images and videos to your website using HTML tags. You can use the <img> tag to insert images and the <video> tag to insert videos. Make sure to provide alternative text for images and use compatible video formats for better user experience.

5. How do I make my website responsive?

To make your website responsive, you can use CSS media queries to adjust the layout of your website based on different screen sizes. It is also important to use relative units like percentages or em instead of fixed units like pixels to ensure that your website looks good on all devices.

Similar threads

  • Programming and Computer Science
Replies
15
Views
1K
  • Programming and Computer Science
Replies
5
Views
1K
  • Programming and Computer Science
Replies
17
Views
1K
  • Programming and Computer Science
Replies
1
Views
1K
  • Programming and Computer Science
2
Replies
50
Views
3K
  • Programming and Computer Science
Replies
0
Views
474
  • Programming and Computer Science
Replies
15
Views
1K
  • Programming and Computer Science
Replies
3
Views
1K
  • Programming and Computer Science
Replies
2
Views
806
  • Programming and Computer Science
Replies
8
Views
4K
Back
Top