PDA

View Full Version : how to create links to sections on the same page in html..?



pharmasecure
12-12-2019, 12:53 AM
how to create links to sections on the same page in html..?

PrimeItSolution
12-12-2019, 02:23 AM
To do this, position your cursor on the page where you would like the link to appear, and then go to Insert > Link. In the window that appears, enter the text you would like to appear as a link, and in the URL Field, enter #targetname, where targetname is the name of your target

Ritika gosh
12-12-2019, 02:50 AM
To create a link that simply moves the user to another location on the same page, create the link that allows you to jump to that section. This is done with the HTML code.

<a href="#choose_name">Text</a>

The link will jump to the section on the page named choose_name, but now you must create the actual section named choose_name for it to work. A link by itself does nothing unless there's a section that the link goes to.

To create the section, choose_name, type in the following HTML code:

<a name="choose_name">Text</a>

jayam
12-12-2019, 08:55 AM
Linking to a section on another page:

Select the button and choose the external link option in the link settings.
Enter the URL of the page where the section exists followed by `#` and the element ID you assigned to that section.

ravikiran
12-13-2019, 07:08 AM
To do this, position your cursor on the page where you would like the link to appear, and then go to Insert > Link. In the window that appears, enter the text you would like to appear as a link, and in the URL Field, enter #targetname, where targetname is the name of your target.

dombowkett
12-14-2019, 09:55 PM
You have to use ahref tag to insert clickable link in HTML Code.