summaryrefslogtreecommitdiffstats
path: root/user_guide_src/source
diff options
context:
space:
mode:
Diffstat (limited to 'user_guide_src/source')
-rw-r--r--user_guide_src/source/helpers/html_helper.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/user_guide_src/source/helpers/html_helper.rst b/user_guide_src/source/helpers/html_helper.rst
index 955ffefc5..88611011c 100644
--- a/user_guide_src/source/helpers/html_helper.rst
+++ b/user_guide_src/source/helpers/html_helper.rst
@@ -31,7 +31,7 @@ The following functions are available:
:param string $h: Heading level
:param mixed $attributes: HTML attributes
:returns: HTML heading tag
- :rtype: string
+ :rtype: string
Lets you create HTML heading tags. The first parameter will contain the
data, the second the size of the heading. Example::
@@ -41,8 +41,8 @@ The following functions are available:
The above would produce: <h3>Welcome!</h3>
Additionally, in order to add attributes to the heading tag such as HTML
- classes, ids or inline styles, a third parameter is available either
- as a string or as an array::
+ classes, ids or inline styles, a third parameter accepts either a string
+ or an array::
echo heading('Welcome!', 3, 'class="pink"');
echo heading('How are you?', 4, array('id' => 'question', 'class' => 'green'));