# Media and Text Block Links

Easily add custom link to image on Media & Text Block or the whole block. You can set link attributes such as open to new tab, nofollow and/or sponsored rel attributes. 

## How to set Media & Text block link?

Follow the instructions below to set Media & Text block link.

![Gutenberg block editor media and text block link](https://cldup.com/6pb2Sp8vAz.gif)

1. Select and make sure you add contents to Media & Text block.
2. Click the link icon on the block toolbar.
3. Set or paste the link.
4. Click the caret icon to open more advanced options.
5. _Optional_ : Set link to open in new tab, apply rel nofollow or sponsore attributes.