Hay que is used when expressing that an unnamed person has to do something, or that there is a need for something.
Tener que is used when the person is mentioned/known.
Tienes que lavar el carro antes de ir. = You have to wash the car before you go.
Hay que enchufar la computadora antes de usarla. = One needs to plug the computer into the socket before using it.
@Bob: The word no goes before the verb. (no hay que)
Both examples you gave are statements, rather than commands. Both are expressing obligation/necessity, because of the structures used:
No hay que correr cerca de la piscina. = There is no need to run by (near) the pool.
No has de correr cerca de la piscina. = You needn't run by (near) the pool.
The 'signage' or the command form would be different:
No Correr Cerca De La Piscina
¡No corras cerca de la piscina!
|