What are the regulations for fences?

Fences require a building permit and are limited to 6 feet high in the side and rear yards and 3 or 4 feet high in the front yard.