An electronic device includes a device main frame portion, a display
portion supported by the device main frame portion, a keyboard, and a
casing on which the keyboard is disposed. The keyboard includes a
plurality of operating keys, a placement base in which the plurality of
operating keys are disposed, and a plurality of retaining portions
disposed on at least portions of the placement base of the keyboard other
than an outer circumferential portion. The keyboard is disposed on a
casing. A plurality of connection retaining portions are provided on the
casing, on which connection retaining portions the plurality of retaining
portions of the placement base are retained, respectively.