Title attribute for links in query loop

I’m using the query loop to display a couple of recent posts on my homepage. But the links do not contain the title attribute. I would like to add the title attribute using dynamic data (post title), but cannot figure out how to do that.

Any suggestions? Thanks!