Share via


HtmlWriter.WriteStartTag Method

Include Protected Members
Include Inherited Members

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

Overload List

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

Top

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.