What is the best way to: how do you exit out of a browser on a macbook?

Available options:
- press on the yellow circle button on the top left corner..
- press the red circle button on the top left corner..
Answer:
press the red circle button on the top left corner.