<!DOCTYPE html>
<html>
<head>
<style>
button, input{margin:10px}
textarea{ height:45px; }
</style>
<script src="http://code.jquery.com/jquery-latest.min.js"></script>
</head>
<body>
<img src="http://javascript.ru/forum/images/ca_serenity/misc/logo.gif" border="0" alt="" />
<img src="http://javascript.ru/forum/images/smilies/write.gif" border="0" alt="" />
<script>
var img = $('img:first').attr('src')
alert(img);
</script>
</body>
</html>