For more detailed explanation, please check here. I quoted some below:
Digital logic circuits have three logic states: high, low and floating
(or high impedance). The high-impedance state occurs when the pin is
not pulled to a high or low logic level, but is left “floating”
instead. A good illustration of this is an unconnected input pin of a
micro-controller. It is neither in a high or low logic state, and a
micro-controller might unpredictably interpret the input value as
either a logical high or logical low.
Pull-up resistors are resistors which are used to ensure that a wire
is pulled to a HIGH logical level in the absence of an input signal.
Pull-down resistors are resistors which are used to ensure that a wire
is pulled to a LOW logical level in the absence of an input signal.
So no matter how you draw them, verify your drawings by removing the input signal and see if the logical level is as defined in above quotation.
Below pictures are the illustration of both types.
Note that the switch S1 and S2 serve as the input signal here. They don't have to be SPSTs, other device like BJT transistor can serve that purpose, too, such as here.