Have you ever? たことがある

The plain past with ことがある says something has happened at least once in your life, and ことがない says it never has, so たことがありますか asks Have you ever?

From Japanese 2.