diff --git a/laravel/documentation/views/html.md b/laravel/documentation/views/html.md index aabe244d..58e92a95 100644 --- a/laravel/documentation/views/html.md +++ b/laravel/documentation/views/html.md @@ -40,7 +40,7 @@ #### Generating a reference to a CSS file: #### Generating a reference to a CSS file using a given media type: - echo HTML::style('css/common.css', 'print'); + echo HTML::style('css/common.css', array('media' => 'print')); *Further Reading:* @@ -55,7 +55,7 @@ #### Generating a link from a URI: #### Generating a link that should use HTTPS: - echo HTML::secure_link('user/profile', 'User Profile'); + echo HTML::link_to_secure('user/profile', 'User Profile'); #### Generating a link and specifying extra HTML attributes: @@ -119,7 +119,7 @@ #### Creating lists from an array of items: echo HTML::ol(array('Get Peanut Butter', 'Get Chocolate', 'Feast')); echo HTML::ul(array('Ubuntu', 'Snow Leopard', 'Windows')); - + echo HTML::dl(array('Ubuntu' => 'An operating system by Canonical', 'Windows' => 'An operating system by Microsoft'));