How to include hyperlinks in PF posts

  • Thread starter JD_PM
  • Start date
In summary, the conversation discusses different methods for including hyperlinks in PF posts, such as using the [url] tag or adding packages in LATEX. It is also mentioned that @[Ibix] uses [color=black] tags to prevent the tags from being rendered as bbcode. Additionally, the [plain] tag is mentioned as an easier alternative.
  • #1
JD_PM
1,131
158
Summary:: How to include hyperlinks in PF posts

I was wondering how to create hyperlinks in my PF posts.

I tried [Fourier inversion theorem](https://en.wikipedia.org/wiki/Fourier_inversion_theorem) (which works in Stack Exchange sites) and \href{URL}{DESCRIPTION} (which works in LATEX after including certain packages) but didn't succeed.

Thank you.
 
Physics news on Phys.org
  • #2
1590140081884.png

1590140101435.png
 
  • Like
Likes BillTre, Greg Bernhardt and JD_PM
  • #3
 
  • Haha
Likes berkeman
  • #4
Or using BBCode explicitly, [url]http://whatever[/url] or [url=http://whatever]link text[/url].
 
  • Like
Likes JD_PM and sysprog
  • #5
Ibix said:
Or using BBCode explicitly, [url]http://whatever[/url] or [url=http://whatever]link text[/url].
Please note that @Ibix wraps [color=black][/color] tags around the left bracket of an opening tag to get the tag rendered as plain text instead of acted upon as a bbcode tag. You can see this if you hit the 'reply' button and then click on the 'toggle bbcode' gear icon. You can do this with any part of the tag; not just the opening bracket, like this: [code] ##\cdots## [/code]
 
  • Like
Likes JD_PM
  • #6
We also have the [plain] tag which makes things easier:

The code [plain][url=http://whatever]link text[/url][/plain] becomes [url=http://whatever]link text[/url]

How did I make the tag appear in the post? I wrote it as [pla[plain][/plain]in]. How did I make that appear... no, the next step should be clear.
 
  • Like
Likes sysprog, Ibix and JD_PM

Related to How to include hyperlinks in PF posts

1. How do I create a hyperlink in a PF post?

To create a hyperlink in a PF post, use the HTML <a> tag and include the URL you want to link to in the href attribute. For example, <a href="https://www.example.com">Link Text</a> will create a hyperlink with the text "Link Text" that links to the website "https://www.example.com".

2. Can I include multiple hyperlinks in a single PF post?

Yes, you can include multiple hyperlinks in a single PF post. Simply use the <a> tag for each hyperlink and make sure to include the correct URLs in the href attribute.

3. How do I make the hyperlink open in a new tab?

To make the hyperlink open in a new tab, add the target="_blank" attribute to the <a> tag. This will ensure that the linked page opens in a new tab instead of replacing the current page.

4. Can I use images as hyperlinks in PF posts?

Yes, you can use images as hyperlinks in PF posts. Instead of using the <a> tag, use the <img> tag and include the URL you want to link to in the src attribute. For example, <img src="https://www.example.com/image.jpg"> will display the image and link to the website "https://www.example.com" when clicked.

5. How do I remove an existing hyperlink in a PF post?

To remove an existing hyperlink in a PF post, simply delete the <a> tag and its contents. This will remove the hyperlink and leave the text or image as is.

Similar threads

  • Feedback and Announcements
Replies
1
Views
670
  • Feedback and Announcements
3
Replies
101
Views
9K
  • Feedback and Announcements
Replies
6
Views
2K
  • Programming and Computer Science
Replies
3
Views
970
  • Feedback and Announcements
Replies
12
Views
1K
Replies
12
Views
1K
Replies
15
Views
2K
  • Sticky
  • General Discussion
Replies
0
Views
357
  • Programming and Computer Science
Replies
22
Views
2K
  • Feedback and Announcements
Replies
6
Views
3K
Back
Top