|
|
|
|
||||||
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
I want to know how to link different pages to my home page of a web site i'm creating
|
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
You may use the relative and the absolute linking as well.
The relative linking looks like this <a href="/" >home page</a> while the absolute contains the URL of the actual home page so <a href="hxxp://yourdomain.com">home page</a> |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
> The relative linking looks like this <a href="/" >home page</a>
Well, actually, that's a root relative link as opposed to a document relative link, but this is really not what the original poster was asking, I think. To link one page to another page, you select the text or image that is to be used for the link, and use the folder icon on the Property inspector to browse to, and select, the desired target page. This will create a hyperlink around that text or image such that when you view the page in the browser, and then click on the text or image, you will be taken to the target page. There are actually three kinds of links - 1. Document relative links 2. Root relative links 3. Absolute links The can look like this, respectively, when you examine the code for a link from a page in the 'products folder' to a page that is in the root level of the site - <a href="../whatever.html" <a href="/whatever.html" <a href="http://www.example.com/whatever.html'' The first two types of links can be created using the method I described above. To create the third type of link, you'd have to manually enter the code. Why would you want to use an absolute link rather than the two kinds of relative links? For most purposes, you would not.... -- Murray --- ICQ 71997575 Adobe Community Expert (If you *MUST* email me, don't LAUGH when you do so!) ================== http://www.projectseven.com/go - DW FAQs, Tutorials & Resources http://www.dwfaq.com - DW FAQs, Tutorials & Resources ================== "Bagi Zolt?n" <webforumsuser@macromedia.com> wrote in message news:fv1ftr$5sv$1@forums.macromedia.com... > You may use the relative and the absolute linking as well. > The relative linking looks like this <a href="/" >home page</a> while the > absolute contains the URL of the actual home page so <a > href="hxxp://yourdomain.com">home page</a> > |
|
![]() |
| Outils de la discussion | |
|
|