Skip to content
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions files/en-us/web/uri/reference/schemes/data/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ A few examples:

- `data:,Hello%2C%20World%21`
- : The text/plain data `Hello, World!`. Note how the comma is {{Glossary("Percent-encoding", "percent-encoded")}} as `%2C`, and the space character as `%20`.
- `data:text/plain,Hello%2C%20%57%6F%72%6C%64%21`
- : The text/plain data `Hello, World!` that also has `World` escaped. Similar to {{jsxref("decodeURIComponent()")}}, it decodes all {{Glossary("Percent-encoding", "percent-encoded")}} characters, even if they don't have to be escaped.
- `data:text/plain;base64,SGVsbG8sIFdvcmxkIQ==`
- : base64-encoded version of the above
- `data:text/html,%3Ch1%3EHello%2C%20World%21%3C%2Fh1%3E`
Expand Down