HTML/CSS How to Link PowerPoint to an HTML Anchor Tag?

  • Thread starter Thread starter noblerare
  • Start date Start date
  • Tags Tags
    Html Tag
Click For Summary
The discussion revolves around creating a hyperlink in a PowerPoint presentation that links to an anchor tag in an HTML file. The user is attempting to link to a specific anchor by appending "#2" to the file path (e.g., index.html#2) but finds that the hyperlink does not retain the anchor in the browser's address bar upon clicking. Responses suggest that the issue may not be with the anchor tags themselves, as the user's actual webpage is lengthy. Instead, it is likely related to how the hyperlink is being created in PowerPoint. Suggestions include ensuring the correct syntax is used and verifying that the link is not just displaying the title but actually pointing to the intended address. There is a request for others to test the hyperlink functionality on their systems to identify the problem.
noblerare
Messages
49
Reaction score
0
I'm just wondering if anybody here can help with this minor problem.

Say, I have this simple HTML file:

<html>
<a name=1>This is point 1</a>
<br>
<br>
<a name=2>This is point 2</a>
</html>

I want to create a PowerPoint hyperlink that links to an anchor tag in my HTML file. When I create the hyperlink, I browse the path to my html file and add on a "#2" (without quotes) at the end of the hyperlink, (say, if I wanted the link to link the second anchor tag). However, this does not work. I have tried putting quotes around the 1 and 2 in the anchor tag.

I simply just want to create a hyperlink in my PowerPoint presentation that will link to an anchor tag in an html file.

Can anyone help me on this? Thanks
 
Technology news on Phys.org
How do you know it's not working? With a document that short you wouldn't be able to tell.

To really do this right you should write
Code:
<p id="1">This is point 1</p>
<p id="2">This is point 2</p>
but that's probably not your issue.
 
As CRG mentioned, link anchors kinda depend on the length of your website. If your website doesn't span further than one page fold then it can't move up or down since there is nothing to scroll. Does that make sense? Perhaps that is your problem?
 
Thanks for the responses.

My actual webpage is many pages long so I don't think the problem is with the actual anchor tags. My problem resides in my creation of a PowerPoint hyperlink that links to an anchor tag in my HTML file.

When I want to create a hyperlink, I browse to the path of where my HTML file lies and then I add, say, #2, if I want the link to go to the second anchor tag. Is this the correct syntax? When I create the hyperlink, I add the #2 at the end and test it out. It opens a browser window as it should but in the address bar, there is just the HTML file, not the #2 at the end.

For example, I want to link to index.html. So in PowerPoint, I browse to path and put: index.html#2. Then I click on the link in my PowerPoint slide and it opens up a browser window. In the address bar, is the path with simply: index.html at the end; the #2 part is missing. I am wondering if this is the correct syntax or if I am doing something wrong.
 
Perhaps you are editing the link title and not the actual link address?

For example:

<a href="link.html">link.html#2</a>
 
Last edited:
I understand what you are asking but no, I don't believe I'm editing the link title.

When I view my slideshow in Microsoft PowerPoint, I position my cursor over the link itself (without clicking) and I see that the link points to "link.html#2" However, when I actually click the link, it takes me to a page, link.html.

Can anybody try this on their home computers to see what I am doing wrong?
 
bump ... can anybody help?
 
noblerare said:
bump ... can anybody help?

can you zip the files and upload them here, then I can test
 

Similar threads

  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
6K