-
Notifications
You must be signed in to change notification settings - Fork 22.4k
/
index.md
55 lines (42 loc) · 1.35 KB
/
index.md
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
---
title: string
slug: Web/SVG/Attribute/string
page-type: svg-attribute
status:
- deprecated
browser-compat: svg.elements.font-face-format.string
---
{{SVGRef}}{{Deprecated_Header}}
The **`string`** attribute is a hint to the user agent, and specifies a list of formats that the font referenced by the parent {{SVGElement("font-face-uri")}} element supports.
You can use this attribute with the following SVG elements:
- {{SVGElement("font-face-format")}}
## Usage notes
<table class="properties">
<tbody>
<tr>
<th scope="row">Value</th>
<td>
<code
><a href="/en-US/docs/Web/SVG/Content_type#anything"
><anything></a
></code
>
</td>
</tr>
<tr>
<th scope="row">Default value</th>
<td><em>None</em></td>
</tr>
<tr>
<th scope="row">Animatable</th>
<td>No</td>
</tr>
</tbody>
</table>
- `<anything>`
- : This value specifies a list of formats that are supported by the font referenced by the parent {{SVGElement("font-face-uri")}} element.
The available types are: `"woff"`, `"woff2"`, `"truetype"`, `"opentype"`, `"embedded-opentype"`, and `"svg"`. See the {{cssxref("@font-face/src", "src")}} descriptor of the {{cssxref("@font-face")}} at-rule for more information.
## Specifications
{{Specifications}}
## Browser compatibility
{{Compat}}