Skip to main content
1 of 3

Non-native speaker here.

On a question-answering site, ask questions in proper English, and at best as if you would ask someone right away, since that is what lets you aim at an answer, and that is what makes it clear on a first glimpse what the question is about.

That is why you should not write "How to ...?", which is not 100-percent-proper English - see the remark under the question at "How to ... ?" questions might be wrong grammar. Will it help dropping the question mark for all questions or warning the user or something the like?:

It may not be 'proper' according to some, but it works.

Ask "How do I" / "How can I", which keeps it short and clear.

If you are about to share something more of a technical writing, perhaps a self-answered question, you may switch to a blog-style "How to ..." (without a question mark at the end). Using gerunds instead might be good for anything that is not really seeking for a closing answer but rather some tweaks or debugging of already done work.