Home>

Hello! There was a problem when recording HTML tags to a file)

String Myhtml= "<
HTML >
≪
HEAD >
≪
Title >
≪
/title >
≪
Style >
Body {width: 130px; Height: 30px;} <
/STYLE >
≪
/Head >
≪
Body >
≪
P >
Hello WORLD! ≪
/P >
≪
/Body >
≪
/HTML >
";
    STREAMWRITER SW= New Streamwriter ("My.html");
    SW.WRITE (Myhtml, System.Text.Encoding.GeteNcoding ("Windows-1251"));
    SW.Close ();

swear "The input line had an incorrect format."

What's the matter?

Thank you.