# Inserting Hyperlinks

/text/shared/guide/hyperlink_insert.xhp
hyperlinks; inserting
links; inserting
inserting; hyperlinks
Inserting Hyperlinks
You can insert hyperlinks in two ways: as text or as a button. In both cases, the visible text can be different from the URL.
- Display the Hyperlink Bar by choosing View - Toolbars - Hyperlink Bar. Type the visible text in the left field and the full URL in the right field, including http:// or file://.
- Place the text cursor in the document at the point where you want to insert the hyperlink. Click the Hyperlink icon on the Hyperlink Bar. The hyperlink is inserted as text.
- If you want to insert the hyperlink as a button, click and hold the Hyperlink icon and select As Button from the sub-menu.

Icon
To use the Hyperlink dialog instead of the Hyperlink Bar to define the hyperlink, click the icon on the Standard bar.

- To jump to a specific line in a text document, first enter a bookmark at that position (Insert - Bookmark).
- To jump to a cell in a spreadsheet, first enter a name for the cell (Insert - Names - Define).
In the URL combo box, enter only the short form of the URL when jumping within the same document: If the bookmark is called Target, enter Target. To jump to another document, enter the complete URL.
Hyperlinks can also be inserted by drag-and-drop from the Navigator. Hyperlinks can refer to references, headings, graphics, tables, objects, directories or bookmarks.
If you wish to insert in a text a hyperlink that refers to Table 1, drag the entry Table 1 from the Navigator and drop it in the text. To do this, the Insert as Hyperlink drag mode must be selected in the Navigator.