You should be able to create a web page with a good understanding and use of available HTML elements. If you already know HTML reasonably well, review the list of elements and ensure you know how to use most of them.
If you need to learn HTML from scratch, refer to these resources:
- Don't do it
- Seriously, it's a very bad idea
- If you have a very compelling reason to do it:
- Compose the HTML in your editor, pay attention to linting messages and ensure it's valid HTML
- Invalid HTML can break the build process in confusing ways
- Paste your HTML in Code Beautify or HTML Minifier and click the "Minify" button
- Copy/paste the result into your JavaScript string
- Validate the final built page
- Compose the HTML in your editor, pay attention to linting messages and ensure it's valid HTML
- If you are updating HTML, you can paste it in Code Beautify and click the "Beautify" button, copy/paste the results to your editor, make changes, then bring it back and minify it