diff options
author | Adrian Voicu <avenir.ro@gmail.com> | 2015-03-12 21:13:08 +0100 |
---|---|---|
committer | Adrian Voicu <avenir.ro@gmail.com> | 2015-03-12 21:13:08 +0100 |
commit | f67b6fd02fb3a683fa93ad59d8587beda3c9bb6a (patch) | |
tree | ea194a1fb867d711a12406746a9b6d133f6e0b5f /user_guide_src/source/helpers | |
parent | 0cfe1c3f389ff11a65cf014ea41672834d8719ac (diff) |
Update html_helper.rst
Diffstat (limited to 'user_guide_src/source/helpers')
-rw-r--r-- | user_guide_src/source/helpers/html_helper.rst | 6 |
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')); |