---
title: "How to auto-select HTML macro contents in Confluence cloud"
canonical: "https://support.appfire.com/space/SUPPORT/159193853/How%20to%20auto-select%20HTML%20macro%20contents%20in%20Confluence%20cloud"
format: markdown
---
This article explains how a user can copy the contents from the HTML macro in a confluence page with an option/button with an HTML script.

## \uD83D\uDCD8 Instructions

- Create a confluence page in the cloud environment & add an *HTML* macro.
- Add the below code to your HTML content:   
The content can be modified as per your requirement. Here in the snippet, replace the *value* parameter with the one you want to show to the user under the “Add the content you want to see“ section.
- Publish the page to see the result.
  

> ℹ️ - Please ensure, the HTML for confluence app is installed in your environment.
> ℹ️ - Ensure to have proper permission to perform/apply changes.