Partager via


HtmlWriter.WriteStartTag Method

The WriteStartTag method overloads write HTML start tags to the output.

Remarks

The start tags written by the WriteStartTag overloads remain open until text or the next tag is written. You can therefore write attributes to them until you write either text or the next tag.

Overload List

Name Description
HtmlWriter.WriteStartTag (HtmlTagId)
The WriteStartTag method writes the start tag identified by id to the output.
HtmlWriter.WriteStartTag (String)
The WriteStartTag method writes a start tag to the output.