@@ -1,253 +1,253 @@ discard block  | 
                                                    ||
| 1 | 1 | <?php  | 
                                                        
| 2 | 2 | |
| 3 | 3 | /**  | 
                                                        
| 4 | - * HTML generator  | 
                                                        |
| 5 | - * Marker, hommage to Christian François Bouche-Villeneuve aka Chris Marker  | 
                                                        |
| 6 | - *  | 
                                                        |
| 7 | - * show off @method  | 
                                                        |
| 8 | - *  | 
                                                        |
| 9 | - * @method string abbr(string $content, array $attr)  | 
                                                        |
| 10 | - * creates an abbreviation or an acronym  | 
                                                        |
| 11 | - * @method string acronym(string $content, array $attr)  | 
                                                        |
| 12 | - * creates an acronym (not supported in HTML5. use abbr() instead)  | 
                                                        |
| 13 | - * @method string address(string $content, array $attr)  | 
                                                        |
| 14 | - * creates contact information for the author/owner of a document  | 
                                                        |
| 15 | - * @method string applet(string $content, array $attr)  | 
                                                        |
| 16 | - * creates an embedded applet  | 
                                                        |
| 17 | - * (not supported in HTML5. use embed() or <object> instead)  | 
                                                        |
| 18 | - * @method string area(string $content, array $attr)  | 
                                                        |
| 19 | - * creates an area inside an image map  | 
                                                        |
| 20 | - * @method string article(string $content, array $attr)  | 
                                                        |
| 21 | - * creates an article  | 
                                                        |
| 22 | - * @method string aside(string $content, array $attr)  | 
                                                        |
| 23 | - * creates content aside from the page content  | 
                                                        |
| 24 | - * @method string audio(string $content, array $attr)  | 
                                                        |
| 25 | - * creates embedded sound content  | 
                                                        |
| 26 | - * @method string b(string $content, array $attr)  | 
                                                        |
| 27 | - * creates bold text  | 
                                                        |
| 28 | - * @method string base(string $content, array $attr)  | 
                                                        |
| 29 | - * creates an element that specifies the base url/target for all relative urls in a document  | 
                                                        |
| 30 | - * @method string basefont(string $content, array $attr)  | 
                                                        |
| 31 | - * creates an element that specifies a default color, size, and font for all text in a document  | 
                                                        |
| 32 | - * (not supported in HTML5. use CSS instead)  | 
                                                        |
| 33 | - * @method string bdi(string $content, array $attr)  | 
                                                        |
| 34 | - * creates an element that isolates a part of text that might be formatted  | 
                                                        |
| 35 | - * in a different direction from other text outside it  | 
                                                        |
| 36 | - * @method string bdo(string $content, array $attr)  | 
                                                        |
| 37 | - * creates an element that overrides the current text direction  | 
                                                        |
| 38 | - * @method string big(string $content, array $attr)  | 
                                                        |
| 39 | - * creates an element that defines big text (not supported in HTML5. use CSS instead)  | 
                                                        |
| 40 | - * @method string blockquote(string $content, array $attr)  | 
                                                        |
| 41 | - * creates a section that is quoted from another source  | 
                                                        |
| 42 | - * @method string body(string $content, array $attr)  | 
                                                        |
| 43 | - * creates the document's body  | 
                                                        |
| 44 | - * @method string br(string $content, array $attr)  | 
                                                        |
| 45 | - * creates a single line break  | 
                                                        |
| 46 | - * @method string button(string $content, array $attr)  | 
                                                        |
| 47 | - * creates a clickable button  | 
                                                        |
| 48 | - * @method string canvas(string $content, array $attr)  | 
                                                        |
| 49 | - * used to draw graphics, on the fly, via scripting (usually javascript)  | 
                                                        |
| 50 | - * @method string caption(string $content, array $attr)  | 
                                                        |
| 51 | - * creates a table caption  | 
                                                        |
| 52 | - * @method string center(string $content, array $attr)  | 
                                                        |
| 53 | - * defines centered text (not supported in HTML5. use CSS instead)  | 
                                                        |
| 54 | - * @method string cite(string $content, array $attr)  | 
                                                        |
| 55 | - * creates the title of a work  | 
                                                        |
| 56 | - * @method string code(string $content, array $attr)  | 
                                                        |
| 57 | - * creates a piece of computer code  | 
                                                        |
| 58 | - * @method string col(string $content, array $attr)  | 
                                                        |
| 59 | - * specifies column properties for each column within a <colgroup> element  | 
                                                        |
| 60 | - * @method string colgroup(string $content, array $attr)  | 
                                                        |
| 61 | - * specifies a group of one or more columns in a table for formatting  | 
                                                        |
| 62 | - * @method string data(string $content, array $attr)  | 
                                                        |
| 63 | - * adds a machine-readable translation of a given content  | 
                                                        |
| 64 | - * @method string datalist(string $content, array $attr)  | 
                                                        |
| 65 | - * specifies a list of pre-defined options for input controls  | 
                                                        |
| 66 | - * @method string dd(string $content, array $attr)  | 
                                                        |
| 67 | - * creates a description/value of a term in a description list  | 
                                                        |
| 68 | - * @method string del(string $content, array $attr)  | 
                                                        |
| 69 | - * creates text that has been deleted from a document  | 
                                                        |
| 70 | - * @method string details(string $content, array $attr)  | 
                                                        |
| 71 | - * creates additional details that the user can view or hide  | 
                                                        |
| 72 | - * @method string dfn(string $content, array $attr)  | 
                                                        |
| 73 | - * specifies a term that is going to be defined within the content  | 
                                                        |
| 74 | - * @method string dialog(string $content, array $attr)  | 
                                                        |
| 75 | - * creates a dialog box or window  | 
                                                        |
| 76 | - * @method string dir(string $content, array $attr)  | 
                                                        |
| 77 | - * defines a directory list (not supported in HTML5. use ul() instead)  | 
                                                        |
| 78 | - * @method string div(string $content, array $attr)  | 
                                                        |
| 79 | - * creates a section in a document  | 
                                                        |
| 80 | - * @method string dl(string $content, array $attr)  | 
                                                        |
| 81 | - * creates a description list  | 
                                                        |
| 82 | - * @method string dt(string $content, array $attr)  | 
                                                        |
| 83 | - * creates a term/name in a description list  | 
                                                        |
| 84 | - * @method string em(string $content, array $attr)  | 
                                                        |
| 85 | - * creates emphasized text  | 
                                                        |
| 86 | - * @method string embed(string $content, array $attr)  | 
                                                        |
| 87 | - * creates a container for an external application  | 
                                                        |
| 88 | - * @method string fieldset(string $content, array $attr)  | 
                                                        |
| 89 | - * groups related elements in a form  | 
                                                        |
| 90 | - * @method string figcaption(string $content, array $attr)  | 
                                                        |
| 91 | - * creates a caption for a <figure> element  | 
                                                        |
| 92 | - * @method string figure(string $content, array $attr)  | 
                                                        |
| 93 | - * specifies self-contained content  | 
                                                        |
| 94 | - * @method string font(string $content, array $attr)  | 
                                                        |
| 95 | - * defines font, color, and size for text (not supported in HTML5. use CSS instead)  | 
                                                        |
| 96 | - * @method string footer(string $content, array $attr)  | 
                                                        |
| 97 | - * creates a footer for a document or section  | 
                                                        |
| 98 | - * @method string form(string $content, array $attr)  | 
                                                        |
| 99 | - * creates an HTML form for user input  | 
                                                        |
| 100 | - * @method string frame(string $content, array $attr)  | 
                                                        |
| 101 | - * defines a window (a frame) in a frameset (not supported in HTML5)  | 
                                                        |
| 102 | - * @method string frameset(string $content, array $attr)  | 
                                                        |
| 103 | - * defines a set of frames (not supported in HTML5)  | 
                                                        |
| 104 | - * @method string h1(string $content, array $attr)  | 
                                                        |
| 105 | - * creates HTML headings 1  | 
                                                        |
| 106 | - * @method string h2(string $content, array $attr)  | 
                                                        |
| 107 | - * creates HTML headings 2  | 
                                                        |
| 108 | - * @method string h3(string $content, array $attr)  | 
                                                        |
| 109 | - * creates HTML headings 3  | 
                                                        |
| 110 | - * @method string h4(string $content, array $attr)  | 
                                                        |
| 111 | - * creates HTML headings 4  | 
                                                        |
| 112 | - * @method string h5(string $content, array $attr)  | 
                                                        |
| 113 | - * creates HTML headings 5  | 
                                                        |
| 114 | - * @method string h6(string $content, array $attr)  | 
                                                        |
| 115 | - * creates HTML headings 6  | 
                                                        |
| 116 | - * @method string head(string $content, array $attr)  | 
                                                        |
| 117 | - * contains metadata/information for the document  | 
                                                        |
| 118 | - * @method string header(string $content, array $attr)  | 
                                                        |
| 119 | - * creates a header for a document or section  | 
                                                        |
| 120 | - * @method string hr(string $content, array $attr)  | 
                                                        |
| 121 | - * creates a thematic change in the content  | 
                                                        |
| 122 | - * @method string html(string $content, array $attr)  | 
                                                        |
| 123 | - * creates the root of an HTML document  | 
                                                        |
| 124 | - * @method string i(string $content, array $attr)  | 
                                                        |
| 125 | - * creates a part of text in an alternate voice or mood  | 
                                                        |
| 126 | - * @method string iframe(string $content, array $attr)  | 
                                                        |
| 127 | - * creates an inline frame  | 
                                                        |
| 128 | - * @method string input(string $content, array $attr)  | 
                                                        |
| 129 | - * creates an input control  | 
                                                        |
| 130 | - * @method string ins(string $content, array $attr)  | 
                                                        |
| 131 | - * creates a text that has been inserted into a document  | 
                                                        |
| 132 | - * @method string kbd(string $content, array $attr)  | 
                                                        |
| 133 | - * creates keyboard input  | 
                                                        |
| 134 | - * @method string label(string $content, array $attr)  | 
                                                        |
| 135 | - * creates a label for an <input> element  | 
                                                        |
| 136 | - * @method string legend(string $content, array $attr)  | 
                                                        |
| 137 | - * creates a caption for a <fieldset> element  | 
                                                        |
| 138 | - * @method string li(string $content, array $attr)  | 
                                                        |
| 139 | - * creates a list item  | 
                                                        |
| 140 | - * @method string link(string $content, array $attr)  | 
                                                        |
| 141 | - * creates the relationship between a document and an external resource  | 
                                                        |
| 142 | - * (most used to link to style sheets)  | 
                                                        |
| 143 | - * @method string main(string $content, array $attr)  | 
                                                        |
| 144 | - * specifies the main content of a document  | 
                                                        |
| 145 | - * @method string map(string $content, array $attr)  | 
                                                        |
| 146 | - * creates an image map  | 
                                                        |
| 147 | - * @method string mark(string $content, array $attr)  | 
                                                        |
| 148 | - * creates marked/highlighted text  | 
                                                        |
| 149 | - * @method string meta(string $content, array $attr)  | 
                                                        |
| 150 | - * creates metadata about an HTML document  | 
                                                        |
| 151 | - * @method string meter(string $content, array $attr)  | 
                                                        |
| 152 | - * creates a scalar measurement within a known range (a gauge)  | 
                                                        |
| 153 | - * @method string nav(string $content, array $attr)  | 
                                                        |
| 154 | - * creates navigation links  | 
                                                        |
| 155 | - * @method string noframes(string $content, array $attr)  | 
                                                        |
| 156 | - * defines an alternate content for users that do not support frames  | 
                                                        |
| 157 | - * (not supported in HTML5)  | 
                                                        |
| 158 | - * @method string noscript(string $content, array $attr)  | 
                                                        |
| 159 | - * creates an alternate content for users that do not support client-side scripts  | 
                                                        |
| 160 | - * @method string object(string $content, array $attr)  | 
                                                        |
| 161 | - * creates a container for an external application  | 
                                                        |
| 162 | - * @method string ol(string $content, array $attr)  | 
                                                        |
| 163 | - * creates an ordered list  | 
                                                        |
| 164 | - * @method string optgroup(string $content, array $attr)  | 
                                                        |
| 165 | - * creates a group of related options in a drop-down list  | 
                                                        |
| 166 | - * @method string option(string $content, array $attr)  | 
                                                        |
| 167 | - * creates an option in a drop-down list  | 
                                                        |
| 168 | - * @method string output(string $content, array $attr)  | 
                                                        |
| 169 | - * creates the result of a calculation  | 
                                                        |
| 170 | - * @method string p(string $content, array $attr)  | 
                                                        |
| 4 | + * HTML generator  | 
                                                        |
| 5 | + * Marker, hommage to Christian François Bouche-Villeneuve aka Chris Marker  | 
                                                        |
| 6 | + *  | 
                                                        |
| 7 | + * show off @method  | 
                                                        |
| 8 | + *  | 
                                                        |
| 9 | + * @method string abbr(string $content, array $attr)  | 
                                                        |
| 10 | + * creates an abbreviation or an acronym  | 
                                                        |
| 11 | + * @method string acronym(string $content, array $attr)  | 
                                                        |
| 12 | + * creates an acronym (not supported in HTML5. use abbr() instead)  | 
                                                        |
| 13 | + * @method string address(string $content, array $attr)  | 
                                                        |
| 14 | + * creates contact information for the author/owner of a document  | 
                                                        |
| 15 | + * @method string applet(string $content, array $attr)  | 
                                                        |
| 16 | + * creates an embedded applet  | 
                                                        |
| 17 | + * (not supported in HTML5. use embed() or <object> instead)  | 
                                                        |
| 18 | + * @method string area(string $content, array $attr)  | 
                                                        |
| 19 | + * creates an area inside an image map  | 
                                                        |
| 20 | + * @method string article(string $content, array $attr)  | 
                                                        |
| 21 | + * creates an article  | 
                                                        |
| 22 | + * @method string aside(string $content, array $attr)  | 
                                                        |
| 23 | + * creates content aside from the page content  | 
                                                        |
| 24 | + * @method string audio(string $content, array $attr)  | 
                                                        |
| 25 | + * creates embedded sound content  | 
                                                        |
| 26 | + * @method string b(string $content, array $attr)  | 
                                                        |
| 27 | + * creates bold text  | 
                                                        |
| 28 | + * @method string base(string $content, array $attr)  | 
                                                        |
| 29 | + * creates an element that specifies the base url/target for all relative urls in a document  | 
                                                        |
| 30 | + * @method string basefont(string $content, array $attr)  | 
                                                        |
| 31 | + * creates an element that specifies a default color, size, and font for all text in a document  | 
                                                        |
| 32 | + * (not supported in HTML5. use CSS instead)  | 
                                                        |
| 33 | + * @method string bdi(string $content, array $attr)  | 
                                                        |
| 34 | + * creates an element that isolates a part of text that might be formatted  | 
                                                        |
| 35 | + * in a different direction from other text outside it  | 
                                                        |
| 36 | + * @method string bdo(string $content, array $attr)  | 
                                                        |
| 37 | + * creates an element that overrides the current text direction  | 
                                                        |
| 38 | + * @method string big(string $content, array $attr)  | 
                                                        |
| 39 | + * creates an element that defines big text (not supported in HTML5. use CSS instead)  | 
                                                        |
| 40 | + * @method string blockquote(string $content, array $attr)  | 
                                                        |
| 41 | + * creates a section that is quoted from another source  | 
                                                        |
| 42 | + * @method string body(string $content, array $attr)  | 
                                                        |
| 43 | + * creates the document's body  | 
                                                        |
| 44 | + * @method string br(string $content, array $attr)  | 
                                                        |
| 45 | + * creates a single line break  | 
                                                        |
| 46 | + * @method string button(string $content, array $attr)  | 
                                                        |
| 47 | + * creates a clickable button  | 
                                                        |
| 48 | + * @method string canvas(string $content, array $attr)  | 
                                                        |
| 49 | + * used to draw graphics, on the fly, via scripting (usually javascript)  | 
                                                        |
| 50 | + * @method string caption(string $content, array $attr)  | 
                                                        |
| 51 | + * creates a table caption  | 
                                                        |
| 52 | + * @method string center(string $content, array $attr)  | 
                                                        |
| 53 | + * defines centered text (not supported in HTML5. use CSS instead)  | 
                                                        |
| 54 | + * @method string cite(string $content, array $attr)  | 
                                                        |
| 55 | + * creates the title of a work  | 
                                                        |
| 56 | + * @method string code(string $content, array $attr)  | 
                                                        |
| 57 | + * creates a piece of computer code  | 
                                                        |
| 58 | + * @method string col(string $content, array $attr)  | 
                                                        |
| 59 | + * specifies column properties for each column within a <colgroup> element  | 
                                                        |
| 60 | + * @method string colgroup(string $content, array $attr)  | 
                                                        |
| 61 | + * specifies a group of one or more columns in a table for formatting  | 
                                                        |
| 62 | + * @method string data(string $content, array $attr)  | 
                                                        |
| 63 | + * adds a machine-readable translation of a given content  | 
                                                        |
| 64 | + * @method string datalist(string $content, array $attr)  | 
                                                        |
| 65 | + * specifies a list of pre-defined options for input controls  | 
                                                        |
| 66 | + * @method string dd(string $content, array $attr)  | 
                                                        |
| 67 | + * creates a description/value of a term in a description list  | 
                                                        |
| 68 | + * @method string del(string $content, array $attr)  | 
                                                        |
| 69 | + * creates text that has been deleted from a document  | 
                                                        |
| 70 | + * @method string details(string $content, array $attr)  | 
                                                        |
| 71 | + * creates additional details that the user can view or hide  | 
                                                        |
| 72 | + * @method string dfn(string $content, array $attr)  | 
                                                        |
| 73 | + * specifies a term that is going to be defined within the content  | 
                                                        |
| 74 | + * @method string dialog(string $content, array $attr)  | 
                                                        |
| 75 | + * creates a dialog box or window  | 
                                                        |
| 76 | + * @method string dir(string $content, array $attr)  | 
                                                        |
| 77 | + * defines a directory list (not supported in HTML5. use ul() instead)  | 
                                                        |
| 78 | + * @method string div(string $content, array $attr)  | 
                                                        |
| 79 | + * creates a section in a document  | 
                                                        |
| 80 | + * @method string dl(string $content, array $attr)  | 
                                                        |
| 81 | + * creates a description list  | 
                                                        |
| 82 | + * @method string dt(string $content, array $attr)  | 
                                                        |
| 83 | + * creates a term/name in a description list  | 
                                                        |
| 84 | + * @method string em(string $content, array $attr)  | 
                                                        |
| 85 | + * creates emphasized text  | 
                                                        |
| 86 | + * @method string embed(string $content, array $attr)  | 
                                                        |
| 87 | + * creates a container for an external application  | 
                                                        |
| 88 | + * @method string fieldset(string $content, array $attr)  | 
                                                        |
| 89 | + * groups related elements in a form  | 
                                                        |
| 90 | + * @method string figcaption(string $content, array $attr)  | 
                                                        |
| 91 | + * creates a caption for a <figure> element  | 
                                                        |
| 92 | + * @method string figure(string $content, array $attr)  | 
                                                        |
| 93 | + * specifies self-contained content  | 
                                                        |
| 94 | + * @method string font(string $content, array $attr)  | 
                                                        |
| 95 | + * defines font, color, and size for text (not supported in HTML5. use CSS instead)  | 
                                                        |
| 96 | + * @method string footer(string $content, array $attr)  | 
                                                        |
| 97 | + * creates a footer for a document or section  | 
                                                        |
| 98 | + * @method string form(string $content, array $attr)  | 
                                                        |
| 99 | + * creates an HTML form for user input  | 
                                                        |
| 100 | + * @method string frame(string $content, array $attr)  | 
                                                        |
| 101 | + * defines a window (a frame) in a frameset (not supported in HTML5)  | 
                                                        |
| 102 | + * @method string frameset(string $content, array $attr)  | 
                                                        |
| 103 | + * defines a set of frames (not supported in HTML5)  | 
                                                        |
| 104 | + * @method string h1(string $content, array $attr)  | 
                                                        |
| 105 | + * creates HTML headings 1  | 
                                                        |
| 106 | + * @method string h2(string $content, array $attr)  | 
                                                        |
| 107 | + * creates HTML headings 2  | 
                                                        |
| 108 | + * @method string h3(string $content, array $attr)  | 
                                                        |
| 109 | + * creates HTML headings 3  | 
                                                        |
| 110 | + * @method string h4(string $content, array $attr)  | 
                                                        |
| 111 | + * creates HTML headings 4  | 
                                                        |
| 112 | + * @method string h5(string $content, array $attr)  | 
                                                        |
| 113 | + * creates HTML headings 5  | 
                                                        |
| 114 | + * @method string h6(string $content, array $attr)  | 
                                                        |
| 115 | + * creates HTML headings 6  | 
                                                        |
| 116 | + * @method string head(string $content, array $attr)  | 
                                                        |
| 117 | + * contains metadata/information for the document  | 
                                                        |
| 118 | + * @method string header(string $content, array $attr)  | 
                                                        |
| 119 | + * creates a header for a document or section  | 
                                                        |
| 120 | + * @method string hr(string $content, array $attr)  | 
                                                        |
| 121 | + * creates a thematic change in the content  | 
                                                        |
| 122 | + * @method string html(string $content, array $attr)  | 
                                                        |
| 123 | + * creates the root of an HTML document  | 
                                                        |
| 124 | + * @method string i(string $content, array $attr)  | 
                                                        |
| 125 | + * creates a part of text in an alternate voice or mood  | 
                                                        |
| 126 | + * @method string iframe(string $content, array $attr)  | 
                                                        |
| 127 | + * creates an inline frame  | 
                                                        |
| 128 | + * @method string input(string $content, array $attr)  | 
                                                        |
| 129 | + * creates an input control  | 
                                                        |
| 130 | + * @method string ins(string $content, array $attr)  | 
                                                        |
| 131 | + * creates a text that has been inserted into a document  | 
                                                        |
| 132 | + * @method string kbd(string $content, array $attr)  | 
                                                        |
| 133 | + * creates keyboard input  | 
                                                        |
| 134 | + * @method string label(string $content, array $attr)  | 
                                                        |
| 135 | + * creates a label for an <input> element  | 
                                                        |
| 136 | + * @method string legend(string $content, array $attr)  | 
                                                        |
| 137 | + * creates a caption for a <fieldset> element  | 
                                                        |
| 138 | + * @method string li(string $content, array $attr)  | 
                                                        |
| 139 | + * creates a list item  | 
                                                        |
| 140 | + * @method string link(string $content, array $attr)  | 
                                                        |
| 141 | + * creates the relationship between a document and an external resource  | 
                                                        |
| 142 | + * (most used to link to style sheets)  | 
                                                        |
| 143 | + * @method string main(string $content, array $attr)  | 
                                                        |
| 144 | + * specifies the main content of a document  | 
                                                        |
| 145 | + * @method string map(string $content, array $attr)  | 
                                                        |
| 146 | + * creates an image map  | 
                                                        |
| 147 | + * @method string mark(string $content, array $attr)  | 
                                                        |
| 148 | + * creates marked/highlighted text  | 
                                                        |
| 149 | + * @method string meta(string $content, array $attr)  | 
                                                        |
| 150 | + * creates metadata about an HTML document  | 
                                                        |
| 151 | + * @method string meter(string $content, array $attr)  | 
                                                        |
| 152 | + * creates a scalar measurement within a known range (a gauge)  | 
                                                        |
| 153 | + * @method string nav(string $content, array $attr)  | 
                                                        |
| 154 | + * creates navigation links  | 
                                                        |
| 155 | + * @method string noframes(string $content, array $attr)  | 
                                                        |
| 156 | + * defines an alternate content for users that do not support frames  | 
                                                        |
| 157 | + * (not supported in HTML5)  | 
                                                        |
| 158 | + * @method string noscript(string $content, array $attr)  | 
                                                        |
| 159 | + * creates an alternate content for users that do not support client-side scripts  | 
                                                        |
| 160 | + * @method string object(string $content, array $attr)  | 
                                                        |
| 161 | + * creates a container for an external application  | 
                                                        |
| 162 | + * @method string ol(string $content, array $attr)  | 
                                                        |
| 163 | + * creates an ordered list  | 
                                                        |
| 164 | + * @method string optgroup(string $content, array $attr)  | 
                                                        |
| 165 | + * creates a group of related options in a drop-down list  | 
                                                        |
| 166 | + * @method string option(string $content, array $attr)  | 
                                                        |
| 167 | + * creates an option in a drop-down list  | 
                                                        |
| 168 | + * @method string output(string $content, array $attr)  | 
                                                        |
| 169 | + * creates the result of a calculation  | 
                                                        |
| 170 | + * @method string p(string $content, array $attr)  | 
                                                        |
| 171 | 171 | * creates a paragraph  | 
                                                        
| 172 | - * @method string param(string $content, array $attr)  | 
                                                        |
| 172 | + * @method string param(string $content, array $attr)  | 
                                                        |
| 173 | 173 | * creates a parameter for an object  | 
                                                        
| 174 | - * @method string picture(string $content, array $attr)  | 
                                                        |
| 174 | + * @method string picture(string $content, array $attr)  | 
                                                        |
| 175 | 175 | * creates a container for multiple image resources  | 
                                                        
| 176 | - * @method string pre(string $content, array $attr)  | 
                                                        |
| 176 | + * @method string pre(string $content, array $attr)  | 
                                                        |
| 177 | 177 | * creates preformatted text  | 
                                                        
| 178 | - * @method string progress(string $content, array $attr) represents the progress of a task  | 
                                                        |
| 179 | - * @method string q(string $content, array $attr)  | 
                                                        |
| 178 | + * @method string progress(string $content, array $attr) represents the progress of a task  | 
                                                        |
| 179 | + * @method string q(string $content, array $attr)  | 
                                                        |
| 180 | 180 | * creates a short quotation  | 
                                                        
| 181 | - * @method string rp(string $content, array $attr)  | 
                                                        |
| 181 | + * @method string rp(string $content, array $attr)  | 
                                                        |
| 182 | 182 | * creates what to show in browsers that do not support ruby annotations  | 
                                                        
| 183 | - * @method string rt(string $content, array $attr)  | 
                                                        |
| 183 | + * @method string rt(string $content, array $attr)  | 
                                                        |
| 184 | 184 | * creates an explanation/pronunciation of characters (for east asian typography)  | 
                                                        
| 185 | - * @method string ruby(string $content, array $attr)  | 
                                                        |
| 185 | + * @method string ruby(string $content, array $attr)  | 
                                                        |
| 186 | 186 | * creates a ruby annotation (for east asian typography)  | 
                                                        
| 187 | - * @method string s(string $content, array $attr)  | 
                                                        |
| 187 | + * @method string s(string $content, array $attr)  | 
                                                        |
| 188 | 188 | * creates text that is no longer correct  | 
                                                        
| 189 | - * @method string samp(string $content, array $attr)  | 
                                                        |
| 189 | + * @method string samp(string $content, array $attr)  | 
                                                        |
| 190 | 190 | * creates sample output from a computer program  | 
                                                        
| 191 | - * @method string script(string $content, array $attr)  | 
                                                        |
| 191 | + * @method string script(string $content, array $attr)  | 
                                                        |
| 192 | 192 | * creates a client-side script  | 
                                                        
| 193 | - * @method string section(string $content, array $attr)  | 
                                                        |
| 193 | + * @method string section(string $content, array $attr)  | 
                                                        |
| 194 | 194 | * creates a section in a document  | 
                                                        
| 195 | - * @method string select(string $content, array $attr)  | 
                                                        |
| 195 | + * @method string select(string $content, array $attr)  | 
                                                        |
| 196 | 196 | * creates a drop-down list  | 
                                                        
| 197 | - * @method string small(string $content, array $attr)  | 
                                                        |
| 197 | + * @method string small(string $content, array $attr)  | 
                                                        |
| 198 | 198 | * creates smaller text  | 
                                                        
| 199 | - * @method string source(string $content, array $attr)  | 
                                                        |
| 199 | + * @method string source(string $content, array $attr)  | 
                                                        |
| 200 | 200 | * creates multiple media resources for media elements (<video> and <audio>)  | 
                                                        
| 201 | - * @method string span(string $content, array $attr)  | 
                                                        |
| 201 | + * @method string span(string $content, array $attr)  | 
                                                        |
| 202 | 202 | * creates a section in a document  | 
                                                        
| 203 | - * @method string strike(string $content, array $attr) defines strikethrough text  | 
                                                        |
| 204 | - * (not supported in HTML5. use del() or s() instead)  | 
                                                        |
| 205 | - * @method string strong(string $content, array $attr)  | 
                                                        |
| 203 | + * @method string strike(string $content, array $attr) defines strikethrough text  | 
                                                        |
| 204 | + * (not supported in HTML5. use del() or s() instead)  | 
                                                        |
| 205 | + * @method string strong(string $content, array $attr)  | 
                                                        |
| 206 | 206 | * creates important text  | 
                                                        
| 207 | - * @method string style(string $content, array $attr)  | 
                                                        |
| 207 | + * @method string style(string $content, array $attr)  | 
                                                        |
| 208 | 208 | * creates style information for a document  | 
                                                        
| 209 | - * @method string sub(string $content, array $attr)  | 
                                                        |
| 209 | + * @method string sub(string $content, array $attr)  | 
                                                        |
| 210 | 210 | * creates subscripted text  | 
                                                        
| 211 | - * @method string summary(string $content, array $attr)  | 
                                                        |
| 211 | + * @method string summary(string $content, array $attr)  | 
                                                        |
| 212 | 212 | * creates a visible heading for a <details> element  | 
                                                        
| 213 | - * @method string sup(string $content, array $attr)  | 
                                                        |
| 213 | + * @method string sup(string $content, array $attr)  | 
                                                        |
| 214 | 214 | * creates superscripted text  | 
                                                        
| 215 | - * @method string svg(string $content, array $attr)  | 
                                                        |
| 215 | + * @method string svg(string $content, array $attr)  | 
                                                        |
| 216 | 216 | * creates a container for svg graphics  | 
                                                        
| 217 | - * @method string table(string $content, array $attr)  | 
                                                        |
| 217 | + * @method string table(string $content, array $attr)  | 
                                                        |
| 218 | 218 | * creates a table  | 
                                                        
| 219 | - * @method string tbody(string $content, array $attr) groups the body content in a table  | 
                                                        |
| 220 | - * @method string td(string $content, array $attr)  | 
                                                        |
| 219 | + * @method string tbody(string $content, array $attr) groups the body content in a table  | 
                                                        |
| 220 | + * @method string td(string $content, array $attr)  | 
                                                        |
| 221 | 221 | * creates a cell in a table  | 
                                                        
| 222 | - * @method string template(string $content, array $attr)  | 
                                                        |
| 222 | + * @method string template(string $content, array $attr)  | 
                                                        |
| 223 | 223 | * creates a container for content that should be hidden when the page loads  | 
                                                        
| 224 | - * @method string textarea(string $content, array $attr)  | 
                                                        |
| 224 | + * @method string textarea(string $content, array $attr)  | 
                                                        |
| 225 | 225 | * creates a multiline input control (text area)  | 
                                                        
| 226 | - * @method string tfoot(string $content, array $attr) groups the footer content in a table  | 
                                                        |
| 227 | - * @method string th(string $content, array $attr)  | 
                                                        |
| 226 | + * @method string tfoot(string $content, array $attr) groups the footer content in a table  | 
                                                        |
| 227 | + * @method string th(string $content, array $attr)  | 
                                                        |
| 228 | 228 | * creates a header cell in a table  | 
                                                        
| 229 | - * @method string thead(string $content, array $attr) groups the header content in a table  | 
                                                        |
| 230 | - * @method string time(string $content, array $attr)  | 
                                                        |
| 229 | + * @method string thead(string $content, array $attr) groups the header content in a table  | 
                                                        |
| 230 | + * @method string time(string $content, array $attr)  | 
                                                        |
| 231 | 231 | * creates a specific time (or datetime)  | 
                                                        
| 232 | - * @method string title(string $content, array $attr)  | 
                                                        |
| 232 | + * @method string title(string $content, array $attr)  | 
                                                        |
| 233 | 233 | * creates a title for the document  | 
                                                        
| 234 | - * @method string tr(string $content, array $attr)  | 
                                                        |
| 234 | + * @method string tr(string $content, array $attr)  | 
                                                        |
| 235 | 235 | * creates a row in a table  | 
                                                        
| 236 | - * @method string track(string $content, array $attr)  | 
                                                        |
| 236 | + * @method string track(string $content, array $attr)  | 
                                                        |
| 237 | 237 | * creates text tracks for media elements (<video> and <audio>)  | 
                                                        
| 238 | - * @method string tt(string $content, array $attr)  | 
                                                        |
| 238 | + * @method string tt(string $content, array $attr)  | 
                                                        |
| 239 | 239 | * creates an element that defines teletype text (not supported in HTML5. use CSS instead)  | 
                                                        
| 240 | - * @method string u(string $content, array $attr)  | 
                                                        |
| 240 | + * @method string u(string $content, array $attr)  | 
                                                        |
| 241 | 241 | * creates some text that is unarticulated and styled differently from normal text  | 
                                                        
| 242 | - * @method string ul(string $content, array $attr)  | 
                                                        |
| 242 | + * @method string ul(string $content, array $attr)  | 
                                                        |
| 243 | 243 | * creates an unordered list  | 
                                                        
| 244 | - * @method string var(string $content, array $attr)  | 
                                                        |
| 244 | + * @method string var(string $content, array $attr)  | 
                                                        |
| 245 | 245 | * creates a variable  | 
                                                        
| 246 | - * @method string video(string $content, array $attr)  | 
                                                        |
| 246 | + * @method string video(string $content, array $attr)  | 
                                                        |
| 247 | 247 | * creates embedded video content  | 
                                                        
| 248 | - * @method string wbr(string $content, array $attr)  | 
                                                        |
| 248 | + * @method string wbr(string $content, array $attr)  | 
                                                        |
| 249 | 249 | * creates a possible line-break  | 
                                                        
| 250 | - */  | 
                                                        |
| 250 | + */  | 
                                                        |
| 251 | 251 | |
| 252 | 252 | declare(strict_types=1);  | 
                                                        
| 253 | 253 | |
@@ -262,11 +262,11 @@ discard block  | 
                                                    ||
| 262 | 262 | }  | 
                                                        
| 263 | 263 | |
| 264 | 264 | /**  | 
                                                        
| 265 | - * ? makes more sense to write  | 
                                                        |
| 266 | -      * Marker::img('path/to/img.jpg', 'An alternative text', ['width' => 34, 'height' => 34]) | 
                                                        |
| 267 | - * than  | 
                                                        |
| 268 | - * Marker::img(null, ['src' => 'path/to/img.jpg', 'alt' => 'An alternative text', 'width' => 34, 'height' => 34])  | 
                                                        |
| 269 | - */  | 
                                                        |
| 265 | + * ? makes more sense to write  | 
                                                        |
| 266 | +     * Marker::img('path/to/img.jpg', 'An alternative text', ['width' => 34, 'height' => 34]) | 
                                                        |
| 267 | + * than  | 
                                                        |
| 268 | + * Marker::img(null, ['src' => 'path/to/img.jpg', 'alt' => 'An alternative text', 'width' => 34, 'height' => 34])  | 
                                                        |
| 269 | + */  | 
                                                        |
| 270 | 270 | public static function img(string $src, string $alt, array $attributes = []): Element  | 
                                                        
| 271 | 271 |      { | 
                                                        
| 272 | 272 | $attributes['src'] ??= $src;  | 
                                                        
@@ -276,11 +276,11 @@ discard block  | 
                                                    ||
| 276 | 276 |          return new Element('img', null, $attributes); | 
                                                        
| 277 | 277 | }  | 
                                                        
| 278 | 278 | /**  | 
                                                        
| 279 | - * ? makes more sense to write  | 
                                                        |
| 280 | -      * Marker::a('controller/task/id', 'Click here', ['class' => 'nav']) | 
                                                        |
| 281 | - * than  | 
                                                        |
| 282 | -      * Marker::a('Click here', ['href' => controller/task/id', 'class' => 'nav']) | 
                                                        |
| 283 | - */  | 
                                                        |
| 279 | + * ? makes more sense to write  | 
                                                        |
| 280 | +     * Marker::a('controller/task/id', 'Click here', ['class' => 'nav']) | 
                                                        |
| 281 | + * than  | 
                                                        |
| 282 | +     * Marker::a('Click here', ['href' => controller/task/id', 'class' => 'nav']) | 
                                                        |
| 283 | + */  | 
                                                        |
| 284 | 284 | public static function a(string $href, string $label, array $attributes = []): Element  | 
                                                        
| 285 | 285 |      { | 
                                                        
| 286 | 286 | $attributes['href'] ??= $href;  | 
                                                        
@@ -315,7 +315,7 @@  | 
                                                    ||
| 315 | 315 | return  | 
                                                        
| 316 | 316 | Marker::div(  | 
                                                        
| 317 | 317 | Marker::label(  | 
                                                        
| 318 | - Form::input($name, $value, $attributes) . Marker::span($label),  | 
                                                        |
| 318 | + Form::input($name, $value, $attributes).Marker::span($label),  | 
                                                        |
| 319 | 319 | ['for' => $attributes['id']]  | 
                                                        
| 320 | 320 | ),  | 
                                                        
| 321 | 321 | ['class' => 'checkbutton']  |