Often this is caused by closing tags with /> syntax. For example:
wrong:
<script src="dojo.js" />
<div dojoType="DatePicker" />
right:
<script src="dojo.js"></script>
<div dojoType="DatePicker"></div>
Are they any HTML references indicating that only the explicit closing tag form works?/p>
And for comparison, the br tag, which does allow the
notation: