A Texas transportation code is a shorthand way of writing down a specific offense that a person is charged with committing. These codes usually match the location of the offense under Texas law, which makes it much easier to locate the full legal information if you're inclined to do so.