--- title: "How Do I Use XHTML to Format Text in Lasernet? - FAQs" slug: "how-do-i-use-xhtml-to-format-text-in-lasernet" description: "This article will explain how to use XHTML as a method of formatting text within rearranges. Using Styles is recommended from Version 8 and above." updated: 2025-10-30T13:58:56Z published: 2025-10-30T13:58:56Z canonical: "kb.lasernetgroup.com/how-do-i-use-xhtml-to-format-text-in-lasernet" --- > ## Documentation Index > Fetch the complete documentation index at: https://kb.lasernetgroup.com/llms.txt > Use this file to discover all available pages before exploring further. # How Do I Use XHTML to Format Text in Lasernet? This article will explain how to use XHTML as a method of formatting text within rearranges. While version 8 of Lasernet included a new feature called **Styles** for formatting the text within rearranges, XHTML can still be used alongside or as an alternative option. Using [Styles](https://kb.lasernet.online/v1/docs/how-do-i-use-styles-in-lasernet) is recommended from Version 8 and above due to the ease of use and flexibility to apply a style globally. HTML (HyperText Markup Language) and XHTML (Extensible HyperText Markup Language) are both languages that can be used to write web pages. XHTML follows XML standards meaning that it is stricter than normal HTML. Both can be applied in the following scenarios. ## Supported Tags For information about which XHTML tags are supported, see [Add Input Data to a Sheet (Rearranges)](/v1/docs/add-input-data-to-a-sheet#render-xhtml-within-input-data) in the Lasernet Form Editor Guide. ## Set up XHTML Within Rearranges In the following example, the Form Editor is set up with a text grab file and there is at least one created rearrange. This section will outline how to turn on XHTML and use it to format the text within rearranges. Follow these steps: 1. Double-click a rearrange to navigate to its settings, or right-click and select **General**. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image-AHY78NMP.png) 1. Select the **XHTML** checkbox. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image-QAV0JJ9E.png) 1. Select the **Objects** tab and click the **Add** button to add a **Fixed text** element to the list. 2. Move it above the rearrange element, add another, and ensure it is below the rearrange. 3. The **Fixed text** will be used as starting and end tags to apply the HTML formatting to the rearrange. For this example, we will make the rearrange italic. 4. At the top **Fixed text** box, enter the following opening tags ****, and then at the bottom, **Fixed text** add ****. This is the formatting result after applying the ’em’ tag to the text. It is now italic. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image-YGWM82Q0.png) We are essentially wrapping the data with the XHTML formatting, which Lasernet will process. ## Fixed Text Formatting XHTML can also be used on a **Fixed text** element, but it has the advantage of being able to format the text as well. 1. Create a **Fixed text** box using the **Text** tool and then go to the properties 2. In the **General** tab, select the **XHTML** checkbox. ## Using Multiple Rearranges The **XHTML** option disables **Newline** in the **Input** tab and removes line breaks from the captured value when active. A break can be placed between rearranges by inserting a **Fixed text** with a value of **
**. For example: ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image-BE34GKWW.png) Ensure the **XHTML** option is selected within the **General** tab.