I live in Paris is "j'habite à Paris" or "je vis à Paris". Both are correct and used formally and informally.
You have is "tu as" (singular AND informal "you"), or "vous avez" (plural OR formal "you") in French.
ton chapeau (informal) votre chapeau (formal)
you (singular and informal) is 'tu' you (plural or formal) is 'vous'
"Tu me parles" (informal) "Vous me parlez" (formal)
Tu as. (informal, but doesn't work when plural: you then have to use 'vous avez', which is the formal OR plural version.)
vous mangez (formal) tu manges (informal)
formal: où êtes-vous? informal: où es-tu?
It's both formal and informal. It depends on how you say it. If you say "Adiós, señora." it's formal. If you say "Adiós, amigo." it's informal.
J'habite à Croydon if you want to say, "i live in crodon" But, if you are telling someone where they live, Tu habites à Croydon (if they are a friend (informal) or Vous habitez à Croydon (if formal)
tu (or toi) is informal (like for a friend)vous is formal or polite
tu me le donnes (informal) vous me le donnez (formal)
comment osez-vous (formal) comment oses-tu (informal)