WordPress provides a nice little function for displaying the title of the current post:
the_title(). This function gets used all over the place: in the site header, at the top of single posts and pages, in the loop, in the footer, etc. But sometimes people use it inappropriately Here, I introduct you to
the_title_attribute() and show how to use it correctly.