In HTML-mode C-c C-o
is bound to sgml-tag
which inserts a tag of choice and one or more attributes. My question is this:
How can I insert a tag with sgml-tag
and skip insertion of an attribute. For instance, if I call the function interactively trying to insert a p-tag
, I am not able to exit the insertion process without entering an attribute. Using C-g
seems to abort the process, resulting in a broken opening tag.
Is there a way of entering a tag without attribute(s)? I have not found an answer in the EMACS documentation.
RET
) at the prompt for the attribute will insert the tag without attributes. – Andrew Swann Sep 09 '17 at 14:38