HtmlWriterWriteEmptyElementTag(HtmlTagId) Method

Write an empty element tag.

Definition

Namespace: MimeKit.Text
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public void WriteEmptyElementTag(
	HtmlTagId id
)

Parameters

id  HtmlTagId
The HTML tag identifier.

Remarks

Writes an empty element tag.

Exceptions

ArgumentException id is not a valid HTML tag identifier.
ObjectDisposedException The HtmlWriter has been disposed.

See Also