Exclamation marks are most commonly used in writing quoted speech. When you are writing a formal document you should avoid using exclamation marks. They are however perfect for writing stories or descriptive writing.
Examples of using exclamation marks in a
- The coach shouted at them, "Get the ball to the striker!"
- She yelled, "leave the boy alone!"
- "Oh my God!" he said, "are you serious?"
- "Help me!" the little girl cried as she dangled from a tree limb.