html
Link to this headingContext
This is meant as a copy-paste quickstart for creating a new static HTML project. It contains everything you need to build a page using vanilla web technologies, and includes all the best practices of the modern day for social media sharing.
Link to this headingExplanation
Here's the same snippet, with inline comments offering additional information:
html
If you currently work or plan to work with React, you may wish to use self-closing tags (eg. <meta />
instead of <meta>
). While not strictly necessary in HTML, they become necessary in JSX, and it is a useful habit to develop.