If you need to know, you either have to use some heuristics (for instance, it "validates", either against a DTD or the more usual "my browser doesn't barf on it"), or ask the user.
In reply to Re: Distinguish between HTML and Plain text
by JavaFan
in thread Distinguish between HTML and Plain text
by vit
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |