greater than symbol

greater than symbol

The "greater than" symbol (>) is used to express a larger value. For example, if (x > 10) means "if X is more than 10." Also called a "right arrow," it is also used to transfer the output of a process. For example, in DOS and Windows, the expression dir *.* > names places the results of the directory listing into a file called NAMES.

In programming, double "greater than" characters (>>) are sometimes used as a right shift symbol, which shifts bits to the right by four bits.

The "greater than" is also used to close HTML and XML tags, while the "less than" (<) symbol is used to begin them, as in the following examples:

  <HTML>   </HTML>
  <HEAD>   </HEAD>
  <TR>     </TR>
  <TD>     </TD>
  <B>      </B>
Copyright © 1981-2025 by The Computer Language Company Inc. All Rights reserved. THIS DEFINITION IS FOR PERSONAL USE ONLY. All other reproduction is strictly prohibited without permission from the publisher.
Mentioned in
Copyright © 2003-2025 Farlex, Inc Disclaimer
All content on this website, including dictionary, thesaurus, literature, geography, and other reference data is for informational purposes only. This information should not be considered complete, up to date, and is not intended to be used in place of a visit, consultation, or advice of a legal, medical, or any other professional.