+++ title = "Help Block" description = "Combine with form controls to guide user input." categories = ["experience"] tags = [] html_attributes = ["class"] custom_attributes = ["text"] snippets_used = ["form group", "text input"] [[copyright]] owner = "Josh Habdas" date = "2019" license = "agpl-3.0-or-later" +++ Plain or formatted text: ```html {{}} {{}}Italicized HTML Help Block{{< /hackcss-helpblock */>}} {{%/* hackcss-helpblock %}}**Bold Markdown Help Block**{{% /hackcss-helpblock */%}} ``` {{< hackcss-helpblock text="Plain text Help Block" />}} {{< hackcss-helpblock >}}Italicized HTML Help Block{{< /hackcss-helpblock >}} {{% hackcss-helpblock %}}**Bold Markdown Help Block**{{% /hackcss-helpblock %}} Used above and below [Text Input](../text-input) with `class` attribute: ```html {{}} {{< hackcss-helpblock >}} Enter a secure password below: {{< /hackcss-helpblock >}} {{< hackcss-textinput type="password" minlength="27" >}} {{< hackcss-helpblock class="muted" text="Min. 27 chars" />}} {{< /hackcss-formgroup */>}} ``` {{< hackcss-formgroup >}} {{< hackcss-helpblock >}} Enter a secure password below: {{< /hackcss-helpblock >}} {{< hackcss-textinput type="password" minlength="27" >}} {{< hackcss-helpblock class="muted" text="Min. 27 chars" />}} {{< /hackcss-formgroup >}}