Command + M shortcut not working to change cell type

Hi,

Thank you for your response and help. Unfortunately, the alternative shortcut Option (Alt ) + Cmd + M to convert cell type is also not working for me in Safari (macbook air 2020).