diff options
author | Razican <devnull@localhost> | 2011-04-25 17:26:45 +0200 |
---|---|---|
committer | Razican <devnull@localhost> | 2011-04-25 17:26:45 +0200 |
commit | 114ab0988e20ac6be39ad363ff897a1a3b85e565 (patch) | |
tree | e20da6ac8647d11304464db6c98ae32725193635 /user_guide/helpers/html_helper.html | |
parent | 48d6d5856ea95dd363f2a420f08200f488fb5151 (diff) |
Fixed double-space typo.
Diffstat (limited to 'user_guide/helpers/html_helper.html')
-rw-r--r-- | user_guide/helpers/html_helper.html | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/user_guide/helpers/html_helper.html b/user_guide/helpers/html_helper.html index 308013d51..665081fb6 100644 --- a/user_guide/helpers/html_helper.html +++ b/user_guide/helpers/html_helper.html @@ -84,10 +84,10 @@ HTML Helper <p>The above would produce: <br /><br /><br /></p> <h2><a name="heading"></a>heading()</h2> -<p>Lets you create HTML <h1> tags. The first parameter will contain the data, the -second the size of the heading. Example:</p> +<p>Lets you create HTML <h1> tags. The first parameter will contain the data, the +second the size of the heading. Example:</p> <code>echo heading('Welcome!', 3);</code> -<p>The above would produce: <h3>Welcome!</h3></p> +<p>The above would produce: <h3>Welcome!</h3></p> <p>Additionally, in order to add attributes to the heading tag such as HTML classes, ids or inline styles, a third parameter is available.</p> <code>echo heading('Welcome!', 3, 'class="pink"')</code> @@ -95,7 +95,7 @@ second the size of the heading. Example:</p> <h2><a name="img"></a>img()</h2> -<p>Lets you create HTML <img /> tags. The first parameter contains the image source. Example:</p> +<p>Lets you create HTML <img /> tags. The first parameter contains the image source. Example:</p> <code>echo img('images/picture.jpg');<br /> // gives <img src="http://site.com/images/picture.jpg" /></code> <p>There is an optional second parameter that is a TRUE/FALSE value that specifics if the src should have the page specified by $config['index_page'] added to the address it creates. Presumably, this would be if you were using a media controller.</p> @@ -116,7 +116,7 @@ second the size of the heading. Example:</p> // <img src="http://site.com/index.php/images/picture.jpg" alt="Me, demonstrating how to eat 4 slices of pizza at one time" class="post_images" width="200" height="200" title="That was quite a night" rel="lightbox" /></code></p> <h2><a name="link_tag"></a>link_tag()</h2> -<p>Lets you create HTML <link /> tags. This is useful for stylesheet links, as well as other links. The parameters are href, with optional rel, type, title, media and index_page. index_page is a TRUE/FALSE value that specifics if the href should have the page specified by $config['index_page'] added to the address it creates.<code> +<p>Lets you create HTML <link /> tags. This is useful for stylesheet links, as well as other links. The parameters are href, with optional rel, type, title, media and index_page. index_page is a TRUE/FALSE value that specifics if the href should have the page specified by $config['index_page'] added to the address it creates.<code> echo link_tag('css/mystyles.css');<br /> // gives <link href="http://site.com/css/mystyles.css" rel="stylesheet" type="text/css" /></code></p> <p>Further examples:</p> @@ -271,20 +271,20 @@ echo ul($list, $attributes);</code> <h2><a name="meta"></a>meta()</h2> -<p>Helps you generate meta tags. You can pass strings to the function, or simple arrays, or multidimensional ones. Examples:</p> +<p>Helps you generate meta tags. You can pass strings to the function, or simple arrays, or multidimensional ones. Examples:</p> <code> echo meta('description', 'My Great site');<br /> -// Generates: <meta name="description" content="My Great Site" /><br /> +// Generates: <meta name="description" content="My Great Site" /><br /> <br /><br /> -echo meta('Content-type', 'text/html; charset=utf-8', 'equiv'); // Note the third parameter. Can be "equiv" or "name"<br /> -// Generates: <meta http-equiv="Content-type" content="text/html; charset=utf-8" /><br /> +echo meta('Content-type', 'text/html; charset=utf-8', 'equiv'); // Note the third parameter. Can be "equiv" or "name"<br /> +// Generates: <meta http-equiv="Content-type" content="text/html; charset=utf-8" /><br /> <br /><br /> echo meta(array('name' => 'robots', 'content' => 'no-cache'));<br /> -// Generates: <meta name="robots" content="no-cache" /><br /> +// Generates: <meta name="robots" content="no-cache" /><br /> <br /><br /> @@ -298,7 +298,7 @@ $meta = array(<br /> <br /> echo meta($meta); <br /> -// Generates: <br /> +// Generates: <br /> // <meta name="robots" content="no-cache" /><br /> // <meta name="description" content="My Great Site" /><br /> // <meta name="keywords" content="love, passion, intrigue, deception" /><br /> @@ -319,7 +319,7 @@ echo doctype('html4-trans');<br /> // <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> </code> -<p>The following is a list of doctype choices. These are configurable, and pulled from <samp>application/config/doctypes.php</samp></p> +<p>The following is a list of doctype choices. These are configurable, and pulled from <samp>application/config/doctypes.php</samp></p> <table cellpadding="0" cellspacing="1" border="0" style="width:100%" class="tableborder"> <tr> |