+ 1
Please,how do you provide the content of a link in a multipage websites?Do you use I'd?For local files??
9 Réponses
+ 5
Here is how you can link multiple pages as shown in the code below.
Learn through lessons again if you haven't understood. As Hasnain [ACTIVE CHALLENGER] mentioned, you can link using "anchor tag."
Below is the code example from lesson. I have done some tweak to show multiple links and added Sololearn social media pages.
Hope this helps.
Edit: Always share your code first when you ask questions.
https://code.sololearn.com/WWjQuOdhQy2J/?ref=app
+ 5
Please, share your attempt further. Without having your code to analyze, we are unable to help you.
Even if you are getting errors, share what you have created. And remove other people codes and questions thread from your question.
+ 4
Check details in this code. This is taken from lessons on "how to create blog?"
Here, about me & contact is shown as a section.
In your code, if you want them not as section and as different pages to link.
-> first you have to create those pages with information. (page for about me, page for contact us).
-> then you can add link for those pages in code.
https://code.sololearn.com/WY6BRdtVEK19/?ref=app
+ 3
Use anchor tag
+ 3
Abdulazeez you have several other codes that maybe aren't relevant to what you are asking.
Maybe you can search the code playground for some codes that might help you.
Another way to receive more appropriate help is to create your own code in the code playground and then attach it here. Users can then improve your code for you or show you exactly where you need help.
+ 2
Sorry for not giving complete analysis so the question.
I mean to ask about linking local files as a multipage websites....
+ 1
After navigation tag,you use anchor tag and index.html as homepage.
After that you have to provide the content of any other Link for multipage website..
So,how do you do that??
0
<a href="/somepage.html">SomeText<a>
This is only if the page is in the same directory as somepage.html
If it's not, you can use a direct link