Home : Support : Frequently Asked Questions : FAQ Question #67

FAQ Question #67

» How do I add a link to another journal or another web site in my entry?

There are several ways to link to a web site or another journal in an entry.

You can insert URLs (Internet addresses) directly into your entries and they will automatically become links. For this to work, the URL must begin with "http://" or "https://". You can turn off this behavior with the "Text Formatting" option when posting an entry.

Another way to insert a link is to use HTML tags. For example:

        <a href="http://www.example.com/">My Homepage</a>

This will create a link with the text "My Homepage" which, upon being clicked, will lead to http://www.example.com/. In order to use this tag, you must replace the link and text with your own link and text.

This technique can be used to link to the journal of another user:

        <a href="http://www.livejournal.com/users/exampleusername/">This is an account specifically reserved for FAQ and Support examples!</a>

This will create a link to the journal of the user "exampleusername", and the link will have the text shown between the opening tag (<a>) and the closing tag (</a>).

You can also use these tags to make an image into a link, by putting the code for the image between the opening and closing tags. For example:

        <a href="http://www.example.com"><img src="http://www.example.com/image.jpg" alt="title or description" border="0" /></a>

If you would like a border the color of a link to appear around the image you are using as a link, you may change "0" to a positive number.

Note that any images you would like to use as links must be uploaded to a webspace provider that allows remote loading.

The same general coding examples above can be used to add a link to an individual file hosted on an external website, or to an individual entry in a friend's journal or your own. Note that if you are linking to a large external file such as a music or video file, there may be bandwidth limits or other limits imposed by your hosting service that may prevent your link from working properly at all times.

You can also use an <lj user> tag to link to user and community journals. There are also special LiveJournal-specific URL forms you can use to make links to different LiveJournal pages.

You can also use the Rich Text feature to create links in journal entries without using HTML.


FURTHER READING

How do I use an lj-cut? What are the other LiveJournal-specific tags?
http://www.livejournal.com/support/faqbrowse.bml?faqid=75

How do I add images to my journal entries or user bio?
http://www.livejournal.com/support/faqbrowse.bml?faqid=6

Why are my images not displaying? What is remote loading?
http://www.livejournal.com/support/faqbrowse.bml?faqid=130

How do I update my journal using the Rich Text editor?
http://www.livejournal.com/support/faqbrowse.bml?faqid=204

What does the "Text Formatting" option do?
http://www.livejournal.com/support/faqbrowse.bml?faqid=26

Last Updated:
teshiron, 2005-03-25


Back to the parent FAQ category.
Back to the FAQ.
Back to the support area.
Not logged in.
(Create an account?)