The black boxes do have various location devices fitted to them some work under water and others above water. But which ones are fitted is dependent on the make and model.
When you talk about ELT people tend to presume that you are talking about the Aircraft ELT which is hardwired into big things and portable ones in smaller aircraft.