What statements on the Internet are illegal? How to define whether it is illegal?

Article 42 of the People's Republic of China (PRC) Public Security Administration Punishment Law shall be detained for less than five days or fined less than five hundred yuan for any of the following acts; If the circumstances are serious, they shall be detained for more than five days and less than ten days, and may be fined up to five hundred yuan:

(1) writing threatening letters or threatening the personal safety of others by other means;

(2) publicly insulting others or fabricating facts to slander others;

(3) fabricating facts, falsely accusing and framing others, and attempting to subject others to criminal investigation or public security administration punishment;

According to the relevant laws of our country, how to punish inappropriate online speech depends on the situation. Fabricating or fabricating facts to insult or slander others, if the circumstances are serious, will constitute a crime and may be sentenced.

Article 246 of the Criminal Law of People's Republic of China (PRC) * * * Crime of insulting and slandering. Whoever publicly insults others by violence or other means or fabricates facts to slander others. If the circumstances are serious, they shall be sentenced to fixed-term imprisonment of not more than three years, criminal detention, public surveillance or deprivation of political rights.