jQuery
$('h1').text()
Standard jQuery
All Tests