To add attributes in Elementor, right-click the element you want to edit and open its settings panel. This works the same way for sections, columns, and widgets.
Inside Advanced → Attributes, type your custom attribute. If it doesn’t need a value, simply enter the attribute name on its own, such as ou-header. If it does require a value, use the format ou-header|value. Elementor will output it correctly in the final HTML.
Some attributes can take more than one value. In that case, separate them with spaces, for example data-type|primary large. Elementor will handle it automatically when the page renders.
Place each attribute on its own line in the Attributes panel. Elementor handles all the formatting for you once the page is updated.