The <font> tag is for use inside a tag, such as <summary>, <remarks>, or <returns>, and lets you specify color of the text.

Syntax

<font color="color">text</font>

Examples

Visual Basic

''' <summary>Our sample property.</summary>

''' <remarks>This text is <font color="#FF0000">red</font>

Property prop1() As String

C#

/// <summary>Our sample property.</summary>

/// <remarks>This text is <font color="#FF0000">red</font>

public string prop1

 

Note, this tag is ignored in RTF output.

See Also

Comment Tags | XML Comments