Hello guys.
I've been reading a lot about crypto these days and there is one thing that always pops up: wallet security. As far as I know, there three types of wallet: desktop wallet, webwallet and external wallet (Trezor and the like). What are the differences between them? Which one is better security-wise?
Thanks!

Webwallets are arguably the worst ones. -- You are dependant on their service & sites, and with most of them it is really hard to access your private keys ( blockchain.info), plus you're missing alot of functionality, RBF/ CPFP / etc.
Desktop wallets such as bitcoin core and Electrum both provide full security ( in terms of access to keys etc, ) and full functionality. Although if your PC is ratted/infected, i wouldn't be so sure how safe they would be in that case. I believe that there shouldn't really be a problem if you have strong encryption, but don't quote me on that..
External wallets ( Trezor/Ledger nano S), people usually say these are the safest, and the best, due to them being encrypted and very movable ( like a USB-stick, you can take them anywhere you go!). I'm not sure if Nano/Trezor offer the same functionality as bitcoin core / electrum though.