mariaanina,
вам сюда
http://learn.javascript.ru/
<!DOCTYPE HTML>
<html>
<head>
<title>Untitled</title>
</head>
<body>
<table width="100%" cellspacing="0" cellpadding="0" class="v16">
<thead>
<tr>
<th>
<span style="font-size: 1.25em;" class="heading_v15 fl append-1">Security Questions</span> <a href="https://mysite.com" style="line-height: 1.2;" class="primary">Edit <span class="hiddenMessage"> your preference</span></a>
</th>
</tr>
</thead>
<tbody>
<tr><td>
Do you love white color?
</td></tr>
<tr><td>
Do you love black color?
</td></tr>
<tr><td>
Do you love green color?
</td></tr>
</tbody>
</table>
<script>
var td = document.querySelectorAll('tbody td');
for (var i=0; i<td.length; i++) {alert(td[i].innerHTML)}
</script>
</body>
</html>