Why did Hong Kong and Macau became a Special Administrative Region and not stayed like the rest of chinas cities?

by nkls
Georgy_K_Zhukov

Is this a homework question? It says in our rules: Our users aren't here to do your homework for you, but they might be willing to help. Remember: AskHistorians helps those who help themselves. Don't just give us your essay/assignment topic and ask us for ideas. Do some research of your own, then come to us with questions about what you've learned. This is explained further in this [META] thread. You can also consider asking the helpful people at /r/HomeworkHelp.

nkls

And if someone know this: What is about Taiwan? It has some kind of special relationship to china.