1. Home
  2. Dx dev digest
  3. Placing specific html tags

Dev Tip: Placing specific HTML tags

Dev Tip: Placing specific HTML tags


The OutSystems platform is great as it generates HTML code for us. As you probably know, the platform's container Widget is simply a "div" HTML element.

But what if I am concerned with the accessibility of my Application, and I want to apply heading styles or just use a specific HTML element?

For example, when I apply a heading style in Service Studio, the following HTML is generated:

<span class=”Heading1″>Hello</span>

But I need to ensure that the semantic markup and use HTML heading tags instead, like:

<h1>Hello</h1>

In Mobile Apps and Reactive Web Apps, we can use the out-of-the-box widget, the HTML element widget.

It works similar to a container widget and allows us to configure the HTML tag in Service Studio and define the HTML attribute in the attributes section.

This is a really helpful tip!

Jake Magro, OutSystems Developer, walks you through this process in this 2-minute video.

Team PhoenixDX

Lastest DX Insights
PhoenixDX now has even more OutSystems MVPs!
Convert local data type to data structure
Dev Tip: How to Gain Exposure to OutSystems AI Agents With Purpose

Need a digital solution tailored to your needs?

Our team is here to help. Complete the form below and we’ll be in touch shortly.