public sealed class Program
public static void Main()
var nodeOf = Nodes.NewFactory();
var reverseSpan = nodeOf.Span.WithClass("reverse");
reverseSpan.Add("reversed text"),
nodeOf.Text(" means the console output. For example, "),
reverseSpan.Add("low battery"),
nodeOf.Text(" and so on."));
var result = para.ToString();
Console.WriteLine(result);