@Suiseiseki text-only web browsers can have a smaller attack surface, but they are still susceptible to many XML-based and network-based attacks and are largely incompatible with any modern web application (like online banking, chats, games, ...) and with most websites which express through multimedia.
Browsing the web safely and correctly requires modern web browsers, like Mozilla Firefox, Chromium/Google Chrome or Microsoft Edge, updated to their latest stable version.