Commit a39cd37a3848696ea9be6596df278df3121b2361
1 parent
f4fb6836
[+] add bold html tag <b>
Showing
1 changed file
with
8 additions
and
0 deletions
Show diff stats
web/making_a_web_site.anubis
| ... | ... | @@ -1339,6 +1339,14 @@ public define HTML_Off_Form aside(List(CoreAttrs) attrs, HTML_Off_Form content) |
| 1339 | 1339 | public define HTML_Off_Form aside(List(HTML_Off_Form) content) = html_tag("aside", [], content). |
| 1340 | 1340 | public define HTML_Off_Form aside(HTML_Off_Form content) = html_tag("aside", [], [content]). |
| 1341 | 1341 | |
| 1342 | + // <b> text in bold face | |
| 1343 | +public define HTML_Off_Form b(String string) = html_tag("b", [], [text(string)]). | |
| 1344 | +public define HTML_Off_Form b(List(CoreAttrs) attrs, HTML_Off_Form content) = html_tag("b", attrs, [content]). | |
| 1345 | +public define HTML_Off_Form b(CoreAttrs attr, List(HTML_Off_Form) content) = html_tag("b", [attr], content). | |
| 1346 | +public define HTML_Off_Form b(CoreAttrs attr, HTML_Off_Form content) = html_tag("b", [attr], [content]). | |
| 1347 | +public define HTML_Off_Form b(List(CoreAttrs) attrs, String string) = html_tag("b", attrs, [text(string)]). | |
| 1348 | +public define HTML_Off_Form b(CoreAttrs attr, String string) = html_tag("b", [attr], [text(string)]). | |
| 1349 | + | |
| 1342 | 1350 | // <br> |
| 1343 | 1351 | public define HTML_Off_Form br = html_void_tag("br", []). |
| 1344 | 1352 | public define HTML_Off_Form br(List(CoreAttrs) attrs) = html_void_tag("br", attrs). | ... | ... |