Today I Learned - Rocky Kev

Tagged “images”

  1. TIL Decorative Images

    make a blank alt='' for presentation images - aka image might already be given using adjacent text, or the image might be included to make the website more visually attractive.

  2. TIL how to create adaptive SVGs

    SVG markup is XML using an .svg file type extension which allows it to hold more dynamic types of code. SVG is able to scale up and down without quality loss, and can potentially be very small in size, they can also have embedded CSS, even embedded media queries.

  3. TIL you can make your cursor display images

    The cursor element allows you to use 'url()'. It's required to include a fallback keyword (like 'auto') in case the image is broken.

  4. TIL Writing really good alt text

    One way to think of alternative text is to think about how you would read the page containing the image to someone over the phone, without mentioning that there is an image present. Whatever you say instead of the image is typically a good start for writing the alternative text.

See all tags.