Odd is the simple mathematical term, An odd number is an integer which is not a multiple of two. The :odd selector selects an odd index like 1, 3, 5, 7... etc for each table row. The odd Selector selects the second element, fourth element, and so on . The odd selector is an extension of jQuery and not part of the CSS specification.

Syntax  $(":odd")


<!doctype html>
	<html lang="en">
	  <meta charset="utf-8">
	  <title>odd demo</title>
	  table {
	    background: #e3f7f5;
	  <script src="https://code.jquery.com/jquery-3.4.1.js"></script>
	<table border="1">
	  <tr><td>The Row 0</td></tr>
	  <tr><td>The Row 1</td></tr>
	  <tr><td>The Row 2</td></tr>
	  <tr><td>The Row 3</td></tr>
	$( "tr:odd" ).css( "background-color", "#febbff" );