Howdy is an informal greeting, commonly thought to have originated as a shortened form of the greeting "How do you do?". It was first recorded as part of the South England dialect in 1680. Literature from that period includes the use of "How-do, how-do" and "How" as a greeting used by the Scottish when addressing Anglo settlers in greeting. The double form of the idiom is still found in parts of Wales as "Howdy, howdy". Without regard to etymological beginnings, the word is used as a greeting such as "Hello" and not, normally, as an enquiry. Howdy is ideally not followed by a question mark, but may be followed by an exclamation mark.
In Texas, "Howdy" is a colloquial contraction of the formal greeting of "How do you do?", and as such is considered a formal and acceptable greeting for residents of that region of the world.