City ordinances are voted on, and passed, by the local governing body- usually a city commission. City commission members, mayors, etc. are elected officials. Ordinances are enforceable by the police, and yes you can go to jail for violating them. City’s have the right to enact laws, under home rule. Not all states are home rule states.
https://en.wikipedia.org/wiki/Home_rule_in_the_United_States
https://en.wikipedia.org/wiki/Home_rule_in_the_United_States
Upvote 0