diff --git a/crates/xilem_html/src/element/elements.rs b/crates/xilem_html/src/element/elements.rs
index 4675cc9db..03b1dba9f 100644
--- a/crates/xilem_html/src/element/elements.rs
+++ b/crates/xilem_html/src/element/elements.rs
@@ -200,7 +200,7 @@ elements!(
(Caption, caption, web_sys::HtmlTableCaptionElement),
(Col, col, web_sys::HtmlTableColElement),
(Colgroup, colgroup, web_sys::HtmlTableColElement),
- (Table, table, web_sys::HtmlTableSectionElement),
+ (Table, table, web_sys::HtmlTableElement),
(Tbody, tbody, web_sys::HtmlTableSectionElement),
(Td, td, web_sys::HtmlTableCellElement),
(Tfoot, tfoot, web_sys::HtmlTableSectionElement),
@@ -217,7 +217,7 @@ elements!(
(Legend, legend, web_sys::HtmlLegendElement),
(Meter, meter, web_sys::HtmlMeterElement),
(Optgroup, optgroup, web_sys::HtmlOptGroupElement),
- (Option, option, web_sys::HtmlOptionElement),
+ (OptionElement, option, web_sys::HtmlOptionElement),
(Output, output, web_sys::HtmlOutputElement),
(Progress, progress, web_sys::HtmlProgressElement),
(Select, select, web_sys::HtmlSelectElement),