You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pyhtml/__tags/generated.py
+51-51Lines changed: 51 additions & 51 deletions
Original file line number
Diff line number
Diff line change
@@ -64,8 +64,8 @@ class base(SelfClosingTag):
64
64
"""
65
65
Specifies the base URL to use for all relative URLs in a document. There can be only one such element in a document.
66
66
67
-
* href: Base URL to use in the document
68
-
* target: Default target to use in the document
67
+
* `href`: Base URL to use in the document
68
+
* `target`: Default target to use in the document
69
69
70
70
[View full documentation](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base)
71
71
"""
@@ -79,8 +79,8 @@ def __init__(
79
79
"""
80
80
Specifies the base URL to use for all relative URLs in a document. There can be only one such element in a document.
81
81
82
-
* href: Base URL to use in the document
83
-
* target: Default target to use in the document
82
+
* `href`: Base URL to use in the document
83
+
* `target`: Default target to use in the document
84
84
85
85
[View full documentation](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base)
86
86
"""
@@ -100,8 +100,8 @@ def __call__(
100
100
"""
101
101
Specifies the base URL to use for all relative URLs in a document. There can be only one such element in a document.
102
102
103
-
* href: Base URL to use in the document
104
-
* target: Default target to use in the document
103
+
* `href`: Base URL to use in the document
104
+
* `target`: Default target to use in the document
105
105
106
106
[View full documentation](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base)
107
107
"""
@@ -167,8 +167,8 @@ class link(SelfClosingTag):
167
167
"""
168
168
Specifies relationships between the current document and an external resource. This element is most commonly used to link to CSS but is also used to establish site icons (both "favicon" style icons and icons for the home screen and apps on mobile devices) among other things.
169
169
170
-
* href: Location of the file being linked to
171
-
* rel: Kind of file being loaded (eg stylesheet)
170
+
* `href`: Location of the file being linked to
171
+
* `rel`: Kind of file being loaded (eg stylesheet)
172
172
173
173
[View full documentation](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link)
174
174
"""
@@ -182,8 +182,8 @@ def __init__(
182
182
"""
183
183
Specifies relationships between the current document and an external resource. This element is most commonly used to link to CSS but is also used to establish site icons (both "favicon" style icons and icons for the home screen and apps on mobile devices) among other things.
184
184
185
-
* href: Location of the file being linked to
186
-
* rel: Kind of file being loaded (eg stylesheet)
185
+
* `href`: Location of the file being linked to
186
+
* `rel`: Kind of file being loaded (eg stylesheet)
187
187
188
188
[View full documentation](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link)
189
189
"""
@@ -203,8 +203,8 @@ def __call__(
203
203
"""
204
204
Specifies relationships between the current document and an external resource. This element is most commonly used to link to CSS but is also used to establish site icons (both "favicon" style icons and icons for the home screen and apps on mobile devices) among other things.
205
205
206
-
* href: Location of the file being linked to
207
-
* rel: Kind of file being loaded (eg stylesheet)
206
+
* `href`: Location of the file being linked to
207
+
* `rel`: Kind of file being loaded (eg stylesheet)
208
208
209
209
[View full documentation](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link)
210
210
"""
@@ -270,7 +270,7 @@ class style(Tag):
270
270
"""
271
271
Contains style information for a document or part of a document. It contains CSS, which is applied to the contents of the document containing this element.
272
272
273
-
* type: Type of style to use (defaults to text/css)
273
+
* `type`: Type of style to use (defaults to `'text/css'`)
274
274
275
275
[View full documentation](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/style)
276
276
"""
@@ -283,7 +283,7 @@ def __init__(
283
283
"""
284
284
Contains style information for a document or part of a document. It contains CSS, which is applied to the contents of the document containing this element.
285
285
286
-
* type: Type of style to use (defaults to text/css)
286
+
* `type`: Type of style to use (defaults to `'text/css'`)
287
287
288
288
[View full documentation](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/style)
289
289
"""
@@ -301,7 +301,7 @@ def __call__(
301
301
"""
302
302
Contains style information for a document or part of a document. It contains CSS, which is applied to the contents of the document containing this element.
303
303
304
-
* type: Type of style to use (defaults to text/css)
304
+
* `type`: Type of style to use (defaults to `'text/css'`)
305
305
306
306
[View full documentation](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/style)
307
307
"""
@@ -1938,8 +1938,8 @@ class a(StylableTag):
1938
1938
"""
1939
1939
Together with its `href` attribute, creates a hyperlink to web pages, files, email addresses, locations within the current page, or anything else a URL can address.
1940
1940
1941
-
* href: URL of page to link to
1942
-
* target: Use "_blank" to open in a new tab
1941
+
* `href`: URL of page to link to
1942
+
* `target`: Use "_blank" to open in a new tab
1943
1943
1944
1944
[View full documentation](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a)
1945
1945
"""
@@ -1956,8 +1956,8 @@ def __init__(
1956
1956
"""
1957
1957
Together with its `href` attribute, creates a hyperlink to web pages, files, email addresses, locations within the current page, or anything else a URL can address.
1958
1958
1959
-
* href: URL of page to link to
1960
-
* target: Use "_blank" to open in a new tab
1959
+
* `href`: URL of page to link to
1960
+
* `target`: Use "_blank" to open in a new tab
1961
1961
1962
1962
[View full documentation](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a)
1963
1963
"""
@@ -1983,8 +1983,8 @@ def __call__(
1983
1983
"""
1984
1984
Together with its `href` attribute, creates a hyperlink to web pages, files, email addresses, locations within the current page, or anything else a URL can address.
1985
1985
1986
-
* href: URL of page to link to
1987
-
* target: Use "_blank" to open in a new tab
1986
+
* `href`: URL of page to link to
1987
+
* `target`: Use "_blank" to open in a new tab
1988
1988
1989
1989
[View full documentation](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a)
1990
1990
"""
@@ -3493,8 +3493,8 @@ class img(Tag):
3493
3493
"""
3494
3494
Embeds an image into the document.
3495
3495
3496
-
* src: Source of the image
3497
-
* alt: Alt text of the image
3496
+
* `src`: Source of the image
3497
+
* `alt`: Alt text of the image
3498
3498
3499
3499
[View full documentation](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img)
3500
3500
"""
@@ -3508,8 +3508,8 @@ def __init__(
3508
3508
"""
3509
3509
Embeds an image into the document.
3510
3510
3511
-
* src: Source of the image
3512
-
* alt: Alt text of the image
3511
+
* `src`: Source of the image
3512
+
* `alt`: Alt text of the image
3513
3513
3514
3514
[View full documentation](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img)
3515
3515
"""
@@ -3529,8 +3529,8 @@ def __call__(
3529
3529
"""
3530
3530
Embeds an image into the document.
3531
3531
3532
-
* src: Source of the image
3533
-
* alt: Alt text of the image
3532
+
* `src`: Source of the image
3533
+
* `alt`: Alt text of the image
3534
3534
3535
3535
[View full documentation](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img)
3536
3536
"""
@@ -4076,7 +4076,7 @@ class script(Tag):
4076
4076
"""
4077
4077
Used to embed executable code or data; this is typically used to embed or refer to JavaScript code. The `<script>` element can also be used with other languages, such as [WebGL](https://developer.mozilla.org/en-US/docs/Web/API/WebGL_API)'s GLSL shader programming language and [JSON](/en-US/docs/Glossary/JSON).
4078
4078
4079
-
* type: Type of script to use (defaults to text/javascript)
4079
+
* `type`: Type of script to use (defaults to `'text/javascript'`)
4080
4080
4081
4081
[View full documentation](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script)
4082
4082
"""
@@ -4089,7 +4089,7 @@ def __init__(
4089
4089
"""
4090
4090
Used to embed executable code or data; this is typically used to embed or refer to JavaScript code. The `<script>` element can also be used with other languages, such as [WebGL](https://developer.mozilla.org/en-US/docs/Web/API/WebGL_API)'s GLSL shader programming language and [JSON](/en-US/docs/Glossary/JSON).
4091
4091
4092
-
* type: Type of script to use (defaults to text/javascript)
4092
+
* `type`: Type of script to use (defaults to `'text/javascript'`)
4093
4093
4094
4094
[View full documentation](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script)
4095
4095
"""
@@ -4107,7 +4107,7 @@ def __call__(
4107
4107
"""
4108
4108
Used to embed executable code or data; this is typically used to embed or refer to JavaScript code. The `<script>` element can also be used with other languages, such as [WebGL](https://developer.mozilla.org/en-US/docs/Web/API/WebGL_API)'s GLSL shader programming language and [JSON](/en-US/docs/Glossary/JSON).
4109
4109
4110
-
* type: Type of script to use (defaults to text/javascript)
4110
+
* `type`: Type of script to use (defaults to `'text/javascript'`)
4111
4111
4112
4112
[View full documentation](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script)
4113
4113
"""
@@ -4844,7 +4844,7 @@ class form(Tag):
4844
4844
"""
4845
4845
Represents a document section containing interactive controls for submitting information.
4846
4846
4847
-
* method: HTTP request method to use (defaults to POST)
4847
+
* `method`: HTTP request method to use (defaults to `'POST'`)
4848
4848
4849
4849
[View full documentation](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form)
4850
4850
"""
@@ -4857,7 +4857,7 @@ def __init__(
4857
4857
"""
4858
4858
Represents a document section containing interactive controls for submitting information.
4859
4859
4860
-
* method: HTTP request method to use (defaults to POST)
4860
+
* `method`: HTTP request method to use (defaults to `'POST'`)
4861
4861
4862
4862
[View full documentation](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form)
4863
4863
"""
@@ -4875,7 +4875,7 @@ def __call__(
4875
4875
"""
4876
4876
Represents a document section containing interactive controls for submitting information.
4877
4877
4878
-
* method: HTTP request method to use (defaults to POST)
4878
+
* `method`: HTTP request method to use (defaults to `'POST'`)
4879
4879
4880
4880
[View full documentation](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form)
4881
4881
"""
@@ -4892,11 +4892,11 @@ class input(SelfClosingTag):
4892
4892
"""
4893
4893
Used to create interactive controls for web-based forms to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent. The `<input>` element is one of the most powerful and complex in all of HTML due to the sheer number of combinations of input types and attributes.
4894
4894
4895
-
* type: Kind of input control to use (checkbox, radio, date, password, text, etc)
4896
-
* name: Name of the field. Submitted with the form as part of a name/value pair
4897
-
* value: Initial value of the control
4898
-
* readonly: Include if field is read-only (defaults to False)
4899
-
* required: Include if field is required (defaults to False)
4895
+
* `type`: Kind of input control to use (checkbox, radio, date, password, text, etc)
4896
+
* `name`: Name of the field. Submitted with the form as part of a name/value pair
4897
+
* `value`: Initial value of the control
4898
+
* `readonly`: Include if field is read-only (defaults to `False`)
4899
+
* `required`: Include if field is required (defaults to `False`)
4900
4900
4901
4901
[View full documentation](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input)
4902
4902
"""
@@ -4913,11 +4913,11 @@ def __init__(
4913
4913
"""
4914
4914
Used to create interactive controls for web-based forms to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent. The `<input>` element is one of the most powerful and complex in all of HTML due to the sheer number of combinations of input types and attributes.
4915
4915
4916
-
* type: Kind of input control to use (checkbox, radio, date, password, text, etc)
4917
-
* name: Name of the field. Submitted with the form as part of a name/value pair
4918
-
* value: Initial value of the control
4919
-
* readonly: Include if field is read-only (defaults to False)
4920
-
* required: Include if field is required (defaults to False)
4916
+
* `type`: Kind of input control to use (checkbox, radio, date, password, text, etc)
4917
+
* `name`: Name of the field. Submitted with the form as part of a name/value pair
4918
+
* `value`: Initial value of the control
4919
+
* `readonly`: Include if field is read-only (defaults to `False`)
4920
+
* `required`: Include if field is required (defaults to `False`)
4921
4921
4922
4922
[View full documentation](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input)
4923
4923
"""
@@ -4943,11 +4943,11 @@ def __call__(
4943
4943
"""
4944
4944
Used to create interactive controls for web-based forms to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent. The `<input>` element is one of the most powerful and complex in all of HTML due to the sheer number of combinations of input types and attributes.
4945
4945
4946
-
* type: Kind of input control to use (checkbox, radio, date, password, text, etc)
4947
-
* name: Name of the field. Submitted with the form as part of a name/value pair
4948
-
* value: Initial value of the control
4949
-
* readonly: Include if field is read-only (defaults to False)
4950
-
* required: Include if field is required (defaults to False)
4946
+
* `type`: Kind of input control to use (checkbox, radio, date, password, text, etc)
4947
+
* `name`: Name of the field. Submitted with the form as part of a name/value pair
4948
+
* `value`: Initial value of the control
4949
+
* `readonly`: Include if field is read-only (defaults to `False`)
4950
+
* `required`: Include if field is required (defaults to `False`)
4951
4951
4952
4952
[View full documentation](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input)
4953
4953
"""
@@ -4968,7 +4968,7 @@ class label(Tag):
4968
4968
"""
4969
4969
Represents a caption for an item in a user interface.
4970
4970
4971
-
* for_: ID of input field to associate this label with
4971
+
* `for_`: ID of input field to associate this label with
4972
4972
4973
4973
[View full documentation](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label)
4974
4974
"""
@@ -4981,7 +4981,7 @@ def __init__(
4981
4981
"""
4982
4982
Represents a caption for an item in a user interface.
4983
4983
4984
-
* for_: ID of input field to associate this label with
4984
+
* `for_`: ID of input field to associate this label with
4985
4985
4986
4986
[View full documentation](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label)
4987
4987
"""
@@ -4999,7 +4999,7 @@ def __call__(
4999
4999
"""
5000
5000
Represents a caption for an item in a user interface.
5001
5001
5002
-
* for_: ID of input field to associate this label with
5002
+
* `for_`: ID of input field to associate this label with
5003
5003
5004
5004
[View full documentation](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label)
0 commit comments