The element that contains the insertion cursor can be deleted from your document by pressing the button in the button bar or by selecting from the menu.
If you delete an element with the button or with the menu item, the element and its content are deleted.
To delete an element, follow these steps:
Deleting an element
Place the insertion cursor inside the element in question.
Click on button in the button bar or select from the menu.
The element and its content disappear from the document.
Note: Please note that you can not delete the document element, i.e. the element that encloses the whole document.
Alternatively, you can right-click on one of the tags of the element and choose from the context menu.
If you want to keep the content of an element, but remove the start and end tags for this element, you can click on the button or select from the menu.
If you remove an element with the button or with the menu item, the content of the element is inserted into the parent element of the element that was removed at the location of the removed element.