along and across: next to or to the other side
Along describes movement following a line or path: along the river, along the road. Across stresses movement from one side to the other: across the street, across the square. With across the bridge, you go over the bridge to the other side.
I walk along the river. You walk across the square.
I walk beside the river. You go from one side of the square to the other.