PagePorter Class Library

HtmlTag.ParseTag Method 

Parses an HTML tag into its tag name and attributes.

[Visual Basic]
Public Sub ParseTag( _
   ByVal tag As String _
)
[C#]
public void ParseTag(
   string tag
);

Parameters

tag
The HTML tag string to parse into tag name and attribute/name value pairs.

Remarks

The ParseTag method parses the input string and places the resulting HTML attribute/value pairs into the HtmlTag object's internal member variables. Any previous values are overwritten. The HTML tag string should include the enclosing angle brackets (< and >).

See Also

HtmlTag Class | Parastream.Web.UI Namespace