diff --git a/user_guide_src/source/helpers/html_helper.rst b/user_guide_src/source/helpers/html_helper.rst index 95760b4af4da..b16bba0eb933 100644 --- a/user_guide_src/source/helpers/html_helper.rst +++ b/user_guide_src/source/helpers/html_helper.rst @@ -2,8 +2,7 @@ HTML Helper ########### -The HTML Helper file contains functions that assist in working with -HTML. +The HTML Helper file contains functions that assist in working with HTML. .. contents:: :local: @@ -31,10 +30,10 @@ The following functions are available: :param string|array $src: Image source URI, or array of attributes and values :param bool $indexPage: Whether to treat ``$src`` as a routed URI string :param mixed $attributes: Additional HTML attributes - :returns: HTML image tag + :returns: HTML image element :rtype: string - Lets you create HTML ```` tags. The first parameter contains the + Lets you create HTML ```` elements. The first parameter contains the image source. Example: .. literalinclude:: html_helper/002.php @@ -84,10 +83,10 @@ The following functions are available: :param string $media: Media type :param bool $indexPage: Whether to treat ``$src`` as a routed URI string :param string $hreflang: Hreflang type - :returns: HTML link tag + :returns: An HTML link element :rtype: string - Lets you create HTML ```` tags. This is useful for stylesheet links, + Lets you create HTML ```` elements. This is useful for stylesheet links, as well as other links. The parameters are *href*, with optional *rel*, *type*, *title*, *media* and *indexPage*. @@ -111,10 +110,10 @@ The following functions are available: :param array|string $src: The source name or URL of a JavaScript file, or an associative array specifying the attributes :param bool $indexPage: Whether to treat ``$src`` as a routed URI string - :returns: HTML script tag + :returns: An HTML script element :rtype: string - Lets you create HTML ```` tags. The parameters is *src*, with optional *indexPage*. + Lets you create HTML ``