Links

Markdown logo

Markdown offers several ways to create links in your document.

A common way to create a link is to use the inline syntax, combining square brackets for the link text and parentheses for the URL.

Syntax:

Visit [Learn-webdevelopment.com](https://learn-webdevelopment.com/)

Result:

Visit Learn-webdevelopment.com.

Tooltip style titles

You can add a title attribute that displays as a tooltip when hovering over the link:

Syntax:

Visit [Learn-webdevelopment.com](https://learn-webdevelopment.com "Link Title").

Result:

Visit Learn-webdevelopment.com.

For documents with many links or when using the same link multiple times, reference links can be useful.

Syntax:

[Learn Markdown][markdown course]

[markdown course]: https://learn-webdevelopment.com/course/markdown/introduction-to-markdown/introduction-to-markdown "Learn Markdown"

Result:

Learn Markdown

For simple URLs or email addresses, you can use angle brackets to automatically create links:

Syntax:

<https://learn-webdevelopment.com>
<[email protected]>

Result:

https://learn-webdevelopment.com

[email protected]

You can turn images into links by adding the image syntax inside the link syntax:

Syntax:

[![Alt Text](https://link-to-image)](https://learn-webdevelopment.com/course/markdown/introduction-to-markdown/introduction-to-markdown)

Result:

Alt Text