Can I connect a mid-2011 iMac to an external HDMI display with a mini Displayport-to-HDMI cable? I have a mid-2011 iMac running Sierra.  I just purchased a new Ultrawide monitor to use primarily on my PC, but it also supports dual input devices, so I was thinking I could connect my iMac to it in order to have the Mac as a picture-in-picture on the same screen as the PC.
The iMac has mini Displayport and Thunderbolt.  The new monitor has HDMI inputs.  I would like to use the miniDP port.  Will a miniDP-to-HDMI adapter/cable work?  I seem to recall the 2011 iMac was right on the cusp of some changes to DP and the only way I've ever connected an external display to this iMac was using the Apple mini DP to Dual-Link DVI cable/adapter.  Can I just go direct miniDP-to-HDMI?
Yes, a mini-DisplayPort to HDMI cable will work well with the iMac.