Snippets about html

2 snippets

Back to all snippets

  1. SNP118

    Lazy load images without JavaScript

    Two attributes and the browser handles it.

    2 lines of html in 2 blocks, 7 lines of explanation.

    #639 html webdev
  2. SNP107

    Open external links in a new tab the right way

    What target="_blank" needs next to it, and whether it needs anything anymore.

    4 lines of html in 2 blocks, 6 lines of explanation.

    #149 html webdev