Q:

how to target an element without class or id

how can i target the 5th td with nth of type ?
or any other way without using classes or id's 
<body>
<h1>aaaa</h1> 
<table>
<tr>
    <td ></td>
    <td ></td>
    <td></td>
</tr>
<tr>
    <td ></td>
    <td ></td>
    <td></td>
</tr>
<tr>
    <td ></td>
    <td ></td>
    <td></td>
</tr>
</table>
</body>

A:

You can use a selector;
 <body>
<h1>aaaa</h1> 
<table>
<tr>
    <td>1</td>
    <td>2</td>
    <td>3</td>
</tr>
<tr>
    <td>4</td>
    <td>5</td>
    <td>6</td>
</tr>
<tr>
    <td>7</td>
    <td>8</td>
    <td>9</td>
</tr>
</table>
</body>

The 5th element would be this, I'm assuming you want to target it in CSS?
body > table > tbody > tr:nth-child(2) > td:nth-child(2) {
    width: 10px; // For example
}

