Deductions & credits

When I google the relevant topic, the following statement puzzles me. Is that a legitimate statement?

 

"Long Term Capital Loss can be set off only against Long Term Capital Gains. Short Term Capital Losses are allowed to be set off against both Long Term Gains and Short Term Gains."
Source:  How to Set off and Carry Forward Capital Losses - ClearTax