Type French accents without a French keyboard: here you can type with a special on page keyboard. You will need to cut and paste your content after typing it online.
Windows 10 (should work in older versions):
Find and add the US International keyboard. This has dead-key functionality on accent characters such as `’^~ etc. So you type ‘e which gives you é and so forth. It’s quick, intuitive, doesn’t require memorisation of codes or particular keys.
The only problem is the way it is nested away. User Settings > Time and Language > Region and Language, install English United States, click on this and select Options, then add United-States International Qwerty as the input method, then remove the standard US keyboard (if you’re not using it).
Switch between keyboards any time with Windows key + Space.