Cancel the frame


To cancel the frame, specify how to cancel using the target attribute of the <a> tag. The parent frame (one level above the current frame) can be canceled by target="_parent" and all the frames can be done by target="_top".

Sample Code [Output]

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<meta http-equiv="content-type" content="text/html;charset=shift_jis">
<a href="" target="_top">Cancel the frame</a>