• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Nested Custom Tags

A nested tag is a paired tag that “nests” related tags in its body. Related means related in purpose, like an HTML <form> tag and its related <input> tags.

A paired tag that surrounds one or more related tags is called a parent tag, and the related tags it surrounds are called child tags. A parent tag doesn't change its paired tag stripes just because it surrounds child tags; everything about its execution cycle remains exactly the same, ThisTag.GeneratedContent is still created and output in the proper order, and so on. The most significant difference between a paired tag that surrounds content and a paired tag that surrounds other tags is that during Inactive mode flow, control passes to the first child tag in the body of the parent. Once all the child tags have finished processing their own execution cycles, flow control passes back to the parent tag's End mode.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint