Yes. Write your start tag then :

writer.Write(HtmlTextWriter.SelfClosingTagEnd);

On Wed, Dec 15, 2010 at 5:12 PM, escher4096
<[email protected]>wrote:

> Is it possible to render a singleton tag with a HtmlTextWriter? I
> would like to generate something like: <span /> but no matter what I
> try I always get <span> </span>.
>
> Thanks
>
> -Cam

Reply via email to