"Headline" vs. "title": defining their roles in writing

What is similar?
Both "headline" and "title" refer to a set of words that introduce, label, or summarize content, such as articles, books, and other media.
What is different?
"Headline" is primarily used to refer to the main or prominent heading of a news article. It is designed to attract attention and is often found at the top of newspaper articles. "Title", on the other hand, is a more general term and can refer to the name given to a book, film, song, or any creative work.
Which one is more common?

Examples of usage
Headline- The headline of the newspaper immediately caught her eye.
- He read the headline and decided to buy the newspaper.
- The shocking headline quickly went viral.
- The title of her favorite book is "To Kill a Mockingbird".
- He couldn't remember the title of the movie.
- The song's title is surprisingly long.