<html><head><link rel="canonical" href="https://www.jetbrains.com/help/writerside/wrap-text-with-tags.html.md/" data-react-helmet="true"/></head><body># Wrap text with tags

Procedure:

1. Select some text and press `Ctrl+Alt+T` (Windows), `⌘ ⌥ T` (macOS), `⌘ ⌥ T` (IntelliJ IDEA Classic (macOS)), `⌘ ⌥ T` (macOS System Shortcuts), `Ctrl+Alt+T` (XWin), `Ctrl+Alt+T` (GNOME), `Ctrl+Alt+T` (KDE), `Ctrl+Alt+T` (Emacs), `Ctrl+Alt+T` (Sublime Text), `⌘ ⌥ T` (Sublime Text (macOS)), `Ctrl+Alt+T` (NetBeans), `Ctrl+Alt+T` (Visual Studio), `Ctrl+Alt+T` (Visual Studio (macOS)), `Alt+Shift+Z` (Eclipse), `⌘ ⌥ Z` (Eclipse (macOS)) to open the Surround With popup.

2. Select Surround with <tag></tag> or press `T` to wrap the selection and specify the tag name.

[Video: The Surround With popup](https://resources.jetbrains.com/help/img/writerside/wrap-with-tags.mp4)

</body></html>