And if you’re using sgml-mode or its derivatives (e.g. html-mode):
sgml-skip-tag-forward is an interactive compiled Lisp function in “sgml-mode.el’`.
It is bound to
C-c C-f
or
C-c <right>
and bound to the menu bar:
<menu-bar> <sgml> <sgml-skip-tag-forward>`
From emacslisp:
(sgml-skip-tag-forward arg)
Skip to end of tag or matching closing tag if present. With prefix argument arg, repeat this arg times. Return t if after a closing tag.