JavaScript and HTML errors in SharePoint


I am new to JavaScript and am trying to fix some bugs. I've researched websites and made some changes, but I'm still having problems. Any support is appreciated. The goal is to add selected items to a SharePoint list and click a button that opens an email with list data. The errors are below:
SCRIPT1002: SCRIPT1002: HTML1423: Incorrect start tag. Attributes should be separated by spaces. HTML1409: Invalid attribute name character. Attribute names should not be ("), (& # 39;), (<), or (=). HTML1422: Malformed start tag. A self closing slash should be followed by a U+003E GREATER-THAN SIGN (>). HTML1423: Bad start tag. Attributes should be separated by spaces. Email.aspx (807,105) HTML1409: Invalid attribute name character. Attribute names should not contain ("), (& # 39;), (<) or (=).

1.File ...







JavaScript sendemail.js





 



























2. File ...


& # 39; & # 39; & # 39;