Creat FormatCheck interface and HTMLBuffer class