A recording apparatus for forming an image on a recording medium, comprising: a recording head configured to eject ink to the recording medium; a conveyor belt configured to convey the recording medium placed thereon in a medium conveyance direction with the recording medium opposed to the recording head; an attraction device which is configured to permit the conveyor belt to generate an attractive force to attract the recording medium to the conveyor belt and which includes: (a) a base (61; 261) disposed at a position where the conveyor belt is interposed between the base and the recording head and having a flat surface (61a; 261a) that faces the recording head; (b) a first electrode (62; 262) which is disposed on the base and which has (b-1) a plurality of first extending portions (62a; 262a) each of which is disposed on the flat surface so as to extend in the medium conveyance direction and each of which is longer than the recording head in the medium conveyance direction, the plurality of first extending portions being arranged in a direction perpendicular to the medium conveyance direction and (b-2) a first connecting portion (62b; 262b) that connects the plurality of first extending portions; (c) a second electrode (63; 263) which is disposed on the base and which has (c-1) a plurality of second extending portions (63a; 263a) each of which is disposed on the flat surface so as to extend in the medium conveyance direction and each of which is longer than the recording head in the medium conveyance direction, the plurality of second extending portions being arranged in the direction perpendicular to the medium conveyance direction such that each of the plurality of first extending portions and each of the plurality of second extending portions are alternately arranged and (c-2) a second connecting portion (63b; 263b) that connects the plurality of second extending portions; and (d) a protective film (64; 264) provided on the base so as to cover the first electrode and the second electrode, the attraction device being configured to generate the attractive force by application of a voltage between the first electrode and the second electrode, wherein the first connecting portion of the first electrode is located on an upstream side of the recording head in the medium conveyance direction while the second connecting portion of the second electrode is located on a downstream side of the recording head in the medium conveyance direction, characterized in that: the first electrode (62; 262) and the protective film (64; 264) are bent such that the first connecting portion (62b; 262b) is located distant from the recording head by a distance larger than a distance by which the plurality of first extending portions (62a; 262a) are distant from the recording head, in a direction in which the recording medium is opposed to the recording head. a recording head configured to eject ink to the recording medium; a conveyor belt configured to convey the recording medium placed thereon in a medium conveyance direction with the recording medium opposed to the recording head; an attraction device which is configured to permit the conveyor belt to generate an attractive force to attract the recording medium to the conveyor belt and which includes: (a) a base (61; 261) disposed at a position where the conveyor belt is interposed between the base and the recording head and having a flat surface (61a; 261a) that faces the recording head; (b) a first electrode (62; 262) which is disposed on the base and which has (b-1) a plurality of first extending portions (62a; 262a) each of which is disposed on the flat surface so as to extend in the medium conveyance direction and each of which is longer than the recording head in the medium conveyance direction, the plurality of first extending portions being arranged in a direction perpendicular to the medium conveyance direction and (b-2) a first connecting portion (62b; 262b) that connects the plurality of first extending portions; (c) a second electrode (63; 263) which is disposed on the base and which has (c-1) a plurality of second extending portions (63a; 263a) each of which is disposed on the flat surface so as to extend in the medium conveyance direction and each of which is longer than the recording head in the medium conveyance direction, the plurality of second extending portions being arranged in the direction perpendicular to the medium conveyance direction such that each of the plurality of first extending portions and each of the plurality of second extending portions are alternately arranged and (c-2) a second connecting portion (63b; 263b) that connects the plurality of second extending portions; and (d) a protective film (64; 264) provided on the base so as to cover the first electrode and the second electrode, the attraction device being configured to generate the attractive force by application of a voltage between the first electrode and the second electrode, wherein the first connecting portion of the first electrode is located on an upstream side of the recording head in the medium conveyance direction while the second connecting portion of the second electrode is located on a downstream side of the recording head in the medium conveyance direction, characterized in that: the first electrode (62; 262) and the protective film (64; 264) are bent such that the first connecting portion (62b; 262b) is located distant from the recording head by a distance larger than a distance by which the plurality of first extending portions (62a; 262a) are distant from the recording head, in a direction in which the recording medium is opposed to the recording head.