From a39cd37a3848696ea9be6596df278df3121b2361 Mon Sep 17 00:00:00 2001 From: totoro Date: Sat, 15 Oct 2022 13:30:48 +0200 Subject: [PATCH] [+] add bold html tag --- web/making_a_web_site.anubis | 8 ++++++++ 1 file changed, 8 insertions(+), 0 deletions(-) diff --git a/web/making_a_web_site.anubis b/web/making_a_web_site.anubis index a6ea193..7c3642d 100644 --- a/web/making_a_web_site.anubis +++ b/web/making_a_web_site.anubis @@ -1339,6 +1339,14 @@ public define HTML_Off_Form aside(List(CoreAttrs) attrs, HTML_Off_Form content) public define HTML_Off_Form aside(List(HTML_Off_Form) content) = html_tag("aside", [], content). public define HTML_Off_Form aside(HTML_Off_Form content) = html_tag("aside", [], [content]). + // text in bold face +public define HTML_Off_Form b(String string) = html_tag("b", [], [text(string)]). +public define HTML_Off_Form b(List(CoreAttrs) attrs, HTML_Off_Form content) = html_tag("b", attrs, [content]). +public define HTML_Off_Form b(CoreAttrs attr, List(HTML_Off_Form) content) = html_tag("b", [attr], content). +public define HTML_Off_Form b(CoreAttrs attr, HTML_Off_Form content) = html_tag("b", [attr], [content]). +public define HTML_Off_Form b(List(CoreAttrs) attrs, String string) = html_tag("b", attrs, [text(string)]). +public define HTML_Off_Form b(CoreAttrs attr, String string) = html_tag("b", [attr], [text(string)]). + //
public define HTML_Off_Form br = html_void_tag("br", []). public define HTML_Off_Form br(List(CoreAttrs) attrs) = html_void_tag("br", attrs). -- libgit2 0.21.4