@@ -29,24 +29,49 @@ class Link(BaseHTML): # noqa: E742
29
29
30
30
tag = "link"
31
31
32
+ # Specifies the CORS settings for the linked resource
32
33
cross_origin : Var [Union [str , int , bool ]]
34
+
35
+ # Specifies the URL of the linked document/resource
33
36
href : Var [Union [str , int , bool ]]
37
+
38
+ # Specifies the language of the text in the linked document
34
39
href_lang : Var [Union [str , int , bool ]]
40
+
41
+ # Allows a browser to check the fetched link for integrity
35
42
integrity : Var [Union [str , int , bool ]]
43
+
44
+ # Specifies on what device the linked document will be displayed
36
45
media : Var [Union [str , int , bool ]]
46
+
47
+ # Specifies the referrer policy of the linked document
37
48
referrer_policy : Var [Union [str , int , bool ]]
49
+
50
+ # Specifies the relationship between the current document and the linked one
38
51
rel : Var [Union [str , int , bool ]]
52
+
53
+ # Specifies the sizes of icons for visual media
39
54
sizes : Var [Union [str , int , bool ]]
55
+
56
+ # Specifies the MIME type of the linked document
40
57
type : Var [Union [str , int , bool ]]
41
58
42
59
43
60
class Meta (BaseHTML ): # Inherits common attributes from BaseHTML
44
61
"""Display the meta element."""
45
62
46
- tag = "meta"
63
+ tag = "meta" # The HTML tag for this element is <meta>
64
+
65
+ # Specifies the character encoding for the HTML document
47
66
char_set : Var [Union [str , int , bool ]]
67
+
68
+ # Defines the content of the metadata
48
69
content : Var [Union [str , int , bool ]]
70
+
71
+ # Provides an HTTP header for the information/value of the content attribute
49
72
http_equiv : Var [Union [str , int , bool ]]
73
+
74
+ # Specifies a name for the metadata
50
75
name : Var [Union [str , int , bool ]]
51
76
52
77
0 commit comments