jQuery Simple Example

HTML

<html>
<body>
<div class="links">
<a href="http://expample1.com">ссылка 1</a>
<a href="http://expample2.com">ссылка 2</a>
<a href="http://expample3.com">ссылка 3</a>
<a href="http://expample4.com">ссылка 4</a>
<a href="http://expample5.com">ссылка 5</a>
<a href="http://expample6.com">ссылка 6</a>
</div>
</body>
</html>

CSS

body {
    padding: 5px;
}

label {
    font-weight: bold;
}

input[type=text] {
    width: 20em
}

p {
    margin: 1em 0 0;
}

JavaScript

$(document).ready(function() {
	var links = $('body').find('a');
  console.log(links);
});