Option: valid_child_elements

This option gives you the ability to specify what elements is to be valid in diffrent parent elements. For example you may force that only thead,tbody,tfoot is to be valid within a table element. This option gives you a lot more control of the output XHTML and to ensure that is's more valid according to W3C specifications.

Format:

Control characters:
/Separates elements. Multiple elements may match a set of child nodes.
,Separates element chunks.
[Starts a new child node list for a element definition.
]Ends a new child node list for a element definition.
%itransVariable for inline XHTML transitional elements.
%itrans_naVariable for inline XHTML transitional elements excluding A elements.
%btransVariable for block XHTML transitional elements.
%istrictVariable for inline XHTML strict elements.
%istrict_naVariable for inline XHTML strict elements excluding A elements.
%bstrictVariable for block XHTML strict elements.
#textName for text nodes.
#commentName for comment nodes.

Example of usage of the valid_child_elements option:

tinyMCE.init({
	...
	valid_child_elements : "h1/h2/h3/h4/h5/h6/a[%itrans_na],table[thead|tbody|tfoot|tr|td],strong/b/p/div/em/i/td[%itrans|#text],body[%btrans|#text]"
});