How do I create a segment in HTML?

Anonymous
Not applicable

How do I create a segment in HTML?

Hi, I am trying to code in some new segments and I have previously done this before but am struggling this time around. Am I corerct in thinking that I place div tags similar to this


<div class="mktEditable" id="edit_text_1" > ... </div>

around the segement Im wishing to create? As I have tried this but it has now blocked segment "Section 1" from being editable which is a problem as that segment contains the whole email. Any advice is appreciated, thank you.

Tags (1)
2 REPLIES 2
Josh_Hill13
Level 10 - Champion Alumni

Re: How do I create a segment in HTML?

Do you mean editable area or text block?

Yes, that code should work in an Email Template. Keep testing it. Usually you have to put it all around the section.

If you are trying to use Segmentations and Dynamic Content, that is not how it is done. See the Dynamic Content Tutorial in University.
Anonymous
Not applicable

Re: How do I create a segment in HTML?

For editable text to work you need to make sure that each editable "section/segment" has a unique id otherwise they don't work.  So in your example the first would be id="edit_text_1" and the second div would be id="edit_text_2".