Implementing WebP into your Website

Tuesday, October 4th, 2022 | Design
Last Modified: 2024-11-10



You'll have to view the source code. The gist is to use the HTML5 picture tag.




Alt text
	
/* Note that all additional attributes,
such as class and alt, 
added to the img element,
will apply to the source image. */
	




Input Action Output
A collection of snippets and links that have proven useful for development and programming in ColdFusion, JavaScript, jQuery, PHP, Python, Dell, Minecraft, Apple, Mac, Windows, LINUX, Raspberry Pi, Adobe, CSS, and HTML.

©2024 Input Action Output