diff --git a/htmlparser/tools/gentags.pl b/htmlparser/tools/gentags.pl
index 5e589e6d8f45..aefa6284baac 100644
--- a/htmlparser/tools/gentags.pl
+++ b/htmlparser/tools/gentags.pl
@@ -33,6 +33,7 @@ $tags[$i++] = "b";
$tags[$i++] = "base";
$tags[$i++] = "basefont";
$tags[$i++] = "bdo";
+$tags[$i++] = "bgsound";
$tags[$i++] = "big";
$tags[$i++] = "blink";
$tags[$i++] = "blockquote";
@@ -87,6 +88,7 @@ $tags[$i++] = "map";
$tags[$i++] = "menu";
$tags[$i++] = "meta";
$tags[$i++] = "multicol";
+$tags[$i++] = "nextid";
$tags[$i++] = "nobr";
$tags[$i++] = "noembed";
$tags[$i++] = "noframes";
@@ -107,6 +109,7 @@ $tags[$i++] = "script";
$tags[$i++] = "select";
$tags[$i++] = "server";
$tags[$i++] = "small";
+$tags[$i++] = "sound";
$tags[$i++] = "spacer";
$tags[$i++] = "span";
$tags[$i++] = "strike";
diff --git a/parser/htmlparser/tools/gentags.pl b/parser/htmlparser/tools/gentags.pl
index 5e589e6d8f45..aefa6284baac 100644
--- a/parser/htmlparser/tools/gentags.pl
+++ b/parser/htmlparser/tools/gentags.pl
@@ -33,6 +33,7 @@ $tags[$i++] = "b";
$tags[$i++] = "base";
$tags[$i++] = "basefont";
$tags[$i++] = "bdo";
+$tags[$i++] = "bgsound";
$tags[$i++] = "big";
$tags[$i++] = "blink";
$tags[$i++] = "blockquote";
@@ -87,6 +88,7 @@ $tags[$i++] = "map";
$tags[$i++] = "menu";
$tags[$i++] = "meta";
$tags[$i++] = "multicol";
+$tags[$i++] = "nextid";
$tags[$i++] = "nobr";
$tags[$i++] = "noembed";
$tags[$i++] = "noframes";
@@ -107,6 +109,7 @@ $tags[$i++] = "script";
$tags[$i++] = "select";
$tags[$i++] = "server";
$tags[$i++] = "small";
+$tags[$i++] = "sound";
$tags[$i++] = "spacer";
$tags[$i++] = "span";
$tags[$i++] = "strike";