Filtering Gmail by Attachment

How to show email with attachment only in Gmail.
In Gmail you can show only emails those have the attachment.

Write the words: has:attachment in the search field of Web Gmail or Gmail Application for your smartphone ( Android or iPhone). then you will see the emails with attachment only.