diff --git a/syntax/html.nanorc b/syntax/html.nanorc
index c0386f4bbd9061dc70a5e825c04a461d83676037..63d0476b8763aa0680504408d0f1a7e85341a525 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]>"