A web browser is a software application used to access and view websites. It translates HTML, CSS, and JavaScript code into readable multimedia pages.
- User Interface (UI): Includes the address bar, back/forward buttons, bookmarking menu, and home button. It is the only part of the browser visible to the user.
- Rendering Engine: Responsible for displaying requested content. It parses HTML and CSS to render layout on the screen. Key engines: Blink (Chrome, Edge, Opera), Gecko (Firefox), and WebKit (Safari).
- JavaScript Interpreter: Parses and executes JavaScript code to make web pages interactive. Google Chrome uses the high-performance V8 engine, while Firefox uses SpiderMonkey.
- Data Persistence / Storage: A lightweight database layer (like SQLite) or web storage (localStorage, sessionStorage, cookies) used by the browser to save user preferences, session states, and cached files locally.