Discover short code snippets for all your development needs.
Browse snippets by collection or check out our top picks and latest articles below.
Latest Articles
An essential part of an HTML document is the <head> element, which contains metadata about the document. Some vital information, such as the document’s title and character encoding are stored in the <head> element. It’s also where you can include links to external resources such as CSS stylesheets and JavaScript files. More often than not, this sort of metadata […]
Social media play an important role in any content’s success. To ensure your content is properly shared on social media, you should include some essential tags in your <head> element: The above snippet contains OpenGraph and Twitter tags. OpenGraph tags are used by Facebook and other social media platforms to display a preview of the page when it’s shared. […]
The <head> element of an HTML document is where you can include links to external resources such as CSS stylesheets and JavaScript files. Some <link> elements, however, are important for SEO and metadata purposes. Here’s a list of a few really important ones I like to include: Written by Angelos Chalaris I’m Angelos Chalaris, a JavaScript software engineer, based […]