10 lines
		
	
	
		
			889 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			889 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| srcset [Experimental]
 | |
| 
 | |
| A list of one or more strings separated by commas indicating a set of possible images represented by the source for the browser to use. Each string is composed of:
 | |
|   1. one URL to an image,
 | |
|   2. a width descriptor, that is a positive integer directly followed by 'w'. The default value, if missing, is the infinity.
 | |
|   3. a pixel density descriptor, that is a positive floating number directly followed by 'x'. The default value, if missing, is 1x.
 | |
| 
 | |
| Each string in the list must have at least a width descriptor or a pixel density descriptor to be valid. Among the list, there must be only one string containing the same tuple of width descriptor and pixel density descriptor.
 | |
| The browser chooses the most adequate image to display at a given point of time.
 | |
| The srcset attribute has an effect only when the <source> element is the direct child of a <picture> element. |