What is the data-codetwo-visible attribute in HTML?
When looking at your email signature’s HTML code, you might come across data-codetwo-visible attributes (Fig. 1.).
Fig. 1. The data-codetwo-visible attribute in email signature’s HTML code.
These attributes appear only in the source HTML code of email signatures created using the template library in CodeTwo’s signature template editor. When you choose a template as a base for your email signature, you can decide which sections or elements (logo, job title, banner, etc.) should be moved to the editor (Fig. 2.).
Fig. 2. Choosing email signature template sections.
The data-codetwo-visible attributes are used to indicate these sections and serve two purposes:
- To control which sections are moved to the editor.
- To improve code hygiene.
The important thing is, data-codetwo-visible attributes do not impact how your email signature looks and works. They are visible only in the raw HTML code of the signature and do not affect any aspect of the signature that is added to emails later.
Can I delete data-codetwo-visible attributes?
Yes, you can safely delete data-codetwo-visible attributes. Just make sure that you delete the attribute together with its value. Look at the example below:
<span data-codetwo-visible="Job title" style="color: #e1a747">{Title}</span>
In this code, delete the entire data-codetwo-visible="Job title" part. The value will be different for each section.
See how to access and edit HTML source code of your template
Related products: | CodeTwo Email Signatures for Office 365 |
Categories: | FAQ |
Last modified: | June 5, 2025 |
Created: | June 4, 2025 |
ID: | 1129 |