pub fn create_element( &self, tag: &str ) -> Element {
        unsafe {
            js!( return @{self}.createElement( @{tag} ); ).into_reference_unchecked().unwrap()
        }
    }
/// In an HTML document, the Document.createElement() method creates the HTML
/// element specified by `tag`, or an HTMLUnknownElement if `tag` isn't
/// recognized. In other documents, it creates an element with a null namespace URI.
///
/// [(JavaScript docs)](https://developer.mozilla.org/en-US/docs/Web/API/Document/createElement)
In an HTML document, the Document.createElement() method creates the HTML
element specified by `tag`, or an HTMLUnknownElement if `tag` isn't
recognized. In other documents, it creates an element with a null namespace URI.


In an HTML document the Document . createElement () method creates the HTML element specified by ` tag ` or an HTMLUnknownElement if ` tag ` isn ' t recognized . In other documents it creates an element with a null namespace URI .
pub fn create_element( &self, tag: &str ) -> Element {
        unsafe {
            js!( return @{self}.createElement( @{tag} ); ).into_reference_unchecked().unwrap()
        }
    }
pub fn create_element ( & self , tag : & str ) -> Element { unsafe { js ! ( return { self } createElement ( { tag } ) ) . into_reference_unchecked ( ) . unwrap ( ) } }
In an HTML document, the Document.createElement() method creates the HTML
element specified by `tag`, or an HTMLUnknownElement if `tag` isn't
recognized.
In an HTML document the Document . createElement () method creates the HTML element specified by ` tag ` or an HTMLUnknownElement if ` tag ` isn ' t recognized .
&self
tag
&str
&self
tag
&str