To type an acute accent (´), the method depends on your operating system and keyboard layout.
Windows: Hold Alt and type the numeric code on the numeric keypad. For common accented vowels: Alt+0225 (á), Alt+0233 (é), Alt+0237 (í), Alt+0243 (ó), Alt+0250 (ú). Release Alt to insert the character.
Mac: Hold Option and press E, then immediately type the vowel: Option+E, then A produces á. This works for á, é, í, ó, ú and other vowels.
Linux: Hold Compose key (or Alt Gr on some keyboards) and type the accent code. Alternatively, use Ctrl+Shift+U followed by the Unicode number, then press Space or Enter.
Chromebook: Press Ctrl+U, then type the vowel and accent code.
On any system: You can also copy-paste accented characters from a character map application. Windows has a built-in Character Map utility; Mac has Character Viewer (Cmd+Ctrl+Space).
Alternative approach: Many devices allow you to install international keyboard layouts. With a Spanish or French keyboard layout enabled, acute accents are often accessible through dedicated keys or modifier combinations.
If you frequently need accented characters, setting up an international keyboard layout is typically more efficient than memorizing numeric codes. The specific steps vary by language and region, so configuring your system's language settings for your target language is recommended.