How to Super & sub script (Mac)?

How to do super script and sub script on a Mac / or apple keyboard? I googled and couldnt find the answer

if you hover over the format buttons it shows the shortcut:
superscript: command +
subscript: command =

Thank you, the question was for anki web since I had to use Anki web bc my desktop is outdated. I guess I will use ANKI on my labtop to be able to use those commands.