View Full Version : how to create links to sections on the same page in html..?
gunjanjain
12-07-2019, 12:33 AM
Hello friends,
how to create links to sections on the same page in html..?
tuxandrew
12-07-2019, 08:09 AM
If you meant to link HTML page to another website then, then Hyperlinking method can be used.
Hyperlinks are defined with the HTML <a> tag:
syntax:
<a href="url">link text</a> # replace website url with "url" and add desired text with "link text " section.
jayam
12-07-2019, 08:27 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.
PrimeItSolution
12-08-2019, 11:03 PM
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.
dennis123
12-08-2019, 11:04 PM
Hi Friends,
The following example shows how to use #top and #bottom with the <a> tag and href attribute to create a link to the top or bottom of the page. This method is similar to using "id," but you don't have to pick a specific element. Click on "Top" or "Bottom" in the Results section to see what happens.
Examples
<a href="#top">Top</a>
<a href="#bottom">Bottom</a>
Powered by vBulletin® Version 4.2.4 Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.