diff --git a/src/document/html/parser/general.c b/src/document/html/parser/general.c
index 30b16456a..03ed1a6c9 100644
--- a/src/document/html/parser/general.c
+++ b/src/document/html/parser/general.c
@@ -41,6 +41,18 @@
/* Unsafe macros */
#include "document/html/internal.h"
+void
+html_article(struct html_context *html_context, char *a,
+ char *xxx3, char *xxx4, char **xxx5)
+{
+}
+
+void
+html_main(struct html_context *html_context, char *a,
+ char *xxx3, char *xxx4, char **xxx5)
+{
+}
+
void
html_section(struct html_context *html_context, char *a,
char *xxx3, char *xxx4, char **xxx5)
diff --git a/src/document/html/parser/general.h b/src/document/html/parser/general.h
index 2db2098f2..14c05fc38 100644
--- a/src/document/html/parser/general.h
+++ b/src/document/html/parser/general.h
@@ -9,6 +9,7 @@ extern "C" {
#endif
element_handler_T html_address;
+element_handler_T html_article;
element_handler_T html_base;
element_handler_T html_blockquote;
element_handler_T html_blockquote_close;
@@ -36,6 +37,7 @@ element_handler_T html_hr;
element_handler_T html_italic;
element_handler_T html_li;
element_handler_T html_linebrk;
+element_handler_T html_main;
element_handler_T html_meta;
element_handler_T html_noframes;
element_handler_T html_noscript;
diff --git a/src/document/html/parser/parse.c b/src/document/html/parser/parse.c
index 87eb645fd..400e3db5d 100644
--- a/src/document/html/parser/parse.c
+++ b/src/document/html/parser/parse.c
@@ -458,6 +458,7 @@ static struct element_info elements[] = {
{"ABBR", html_italic, NULL, 0, ET_NESTABLE },
{"ADDRESS", html_address, NULL, 2, ET_NESTABLE },
{"APPLET", html_applet, NULL, 1, ET_NON_PAIRABLE},
+ {"ARTICLE", html_article, NULL, 0, ET_NESTABLE },
{"AUDIO", html_audio, NULL, 1, ET_NON_PAIRABLE},
{"B", html_bold, NULL, 0, ET_NESTABLE },
{"BASE", html_base, NULL, 0, ET_NON_PAIRABLE},
@@ -498,6 +499,7 @@ static struct element_info elements[] = {
{"LI", html_li, NULL, 1, ET_LI },
{"LINK", html_link, NULL, 1, ET_NON_PAIRABLE},
{"LISTING", html_pre, NULL, 2, ET_NESTABLE },
+ {"MAIN", html_main, NULL, 0, ET_NON_NESTABLE},
{"MENU", html_ul, NULL, 2, ET_NESTABLE },
{"META", html_meta, NULL, 0, ET_NON_PAIRABLE},
{"NOFRAMES", html_noframes, NULL, 0, ET_NESTABLE },