An electronic device comprising: a housing mounted to a mounting plate of a cover accessory; a display disposed in the housing such that at least a partial area thereof is visible through a front surface of the housing; a first standing magnet disposed adjacent to a first side surface of the housing, which is substantially perpendicular to the front surface of the housing and is in contact with a cover plate of the cover accessory in a first standing state and a second standing state, and a second standing magnet disposed adjacent to the first side surface of the housing, wherein the first standing state is a state in which the housing is inclined at a first angle with respect to the cover plate of the cover accessory and the second standing state is a state in which the housing is inclined at a second angle with respect to the cover plate of the cover accessory, wherein the first standing magnet is disposed such that one side thereof is inclined with respect to the first side surface of the housing and the second standing magnet is disposed such that the angle formed by one surface of the second standing magnet and the first side surface of the housing is different from the angle formed by the one surface of the first standing magnet that corresponds to the one surface of the second standing magnet and the first side surface of the housing, wherein the one surface of the first standing magnet is disposed substantially parallel to one surface of a first cover magnetic body disposed on the cover plate of the cover accessory in the first standing state, and wherein the one surface of the second standing magnet that corresponds to the one surface of the first standing magnet is disposed substantially parallel to one surface of a second cover magnetic body disposed on the cover plate of the cover accessory which is spaced apart from the first cover magnetic body in the second standing state. a housing mounted to a mounting plate of a cover accessory; a display disposed in the housing such that at least a partial area thereof is visible through a front surface of the housing; a first standing magnet disposed adjacent to a first side surface of the housing, which is substantially perpendicular to the front surface of the housing and is in contact with a cover plate of the cover accessory in a first standing state and a second standing state, and a second standing magnet disposed adjacent to the first side surface of the housing, wherein the first standing state is a state in which the housing is inclined at a first angle with respect to the cover plate of the cover accessory and the second standing state is a state in which the housing is inclined at a second angle with respect to the cover plate of the cover accessory, wherein the first standing magnet is disposed such that one side thereof is inclined with respect to the first side surface of the housing and the second standing magnet is disposed such that the angle formed by one surface of the second standing magnet and the first side surface of the housing is different from the angle formed by the one surface of the first standing magnet that corresponds to the one surface of the second standing magnet and the first side surface of the housing, wherein the one surface of the first standing magnet is disposed substantially parallel to one surface of a first cover magnetic body disposed on the cover plate of the cover accessory in the first standing state, and wherein the one surface of the second standing magnet that corresponds to the one surface of the first standing magnet is disposed substantially parallel to one surface of a second cover magnetic body disposed on the cover plate of the cover accessory which is spaced apart from the first cover magnetic body in the second standing state.