Is the word "tab" used in the same way in the following two sentences?

Pull the tab to open the can.

The collar has a tab with a button hole.
the same meaning