Using the US International keyboard 

While holding down the Ctrl and Alt keys, tap the letter you'd like the Spanish character of, e.g.

 

  • Ctrl + Alt + a=á

  • Ctrl + Alt + 1=¡

  • Ctrl + Alt + /=¿

  • Ctrl + Alt + n=ñ