In many municipalities, riding on the sidewalk is illegal, although some codes make exceptions for children under certain ages. In every state a bicycle is considered a vehicle and, as such, must follow all traffic laws and should be 'driven' in vehicular lanes unless dedicated bicycle lanes are available.