Skip to content

Commit 3ec7bbd

Browse files
committed
Add srcset and DPI to glossary
1 parent e4fb5e3 commit 3ec7bbd

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

docs/glossary.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,4 +268,21 @@ fence
268268
Open Graph
269269
The [Open Graph protocol](https://ogp.me/) enables any web page to become a rich object in a social graph.
270270
For instance, this is used on Facebook to allow any web page to have the same functionality as any other object on Facebook.
271+
272+
srcset
273+
The [HTMLImageElement](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement) property `srcset` is a string which identifies one or more image candidate strings, separated using commas `,`.
274+
Each image candidate string specifies image resources to display in web pages under given circumstances.
275+
276+
```seealso
277+
https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/srcset
278+
```
279+
280+
dots per inch
281+
DPI
282+
Represents the number of [dots per inch](https://en.wikipedia.org/wiki/Dots_per_inch).
283+
Screens typically contain 72 or 96 dots per inch.
284+
285+
```seealso
286+
https://developer.mozilla.org/en-US/docs/Web/CSS/resolution#dpi
287+
```
271288
```

0 commit comments

Comments
 (0)