diff --git a/syntax/html.nanorc b/syntax/html.nanorc
index c0386f4b..63d0476b 100644
--- a/syntax/html.nanorc
+++ b/syntax/html.nanorc
@@ -5,7 +5,7 @@ magic "HTML document text"
comment ""
# Tags:
-color cyan start="<[[:alpha:]/!?]" end=">"
+color cyan "<[[:alpha:]/!?][^>]*>"
# Bold, italic, and underlined:
color brightmagenta "?[biu]>"