HTML

Typography

span

Parameters Required Default Notes
$value Yes   The text inside the tag.
$attributes No [] Any attributes to add to the tag.

Code

{{ HTML::span('this is a span') }}

Output

_images/span.png

bold

Parameters Required Default Notes
$value Yes   The text inside the tag.
$attributes No [] Any attributes to add to the tag.

Code

{{ HTML::bold('This is bold text') }}

Output

_images/bold.png

italic

Parameters Required Default Notes
$value Yes   The text inside the tag.
$attributes No [] Any attributes to add to the tag.

Code

{{ HTML::italic('This is italicized text') }}

Output

_images/italic.png

delete

Parameters Required Default Notes
$value Yes   The text inside the tag.
$attributes No [] Any attributes to add to the tag.

Code

{{ HTML::delete('This is deleted text') }}

Output

_images/delete.png

strike

Parameters Required Default Notes
$value Yes   The text inside the tag.
$attributes No [] Any attributes to add to the tag.

Code

{{ HTML::strike('This text is striked out') }}

Output

_images/strike.png

insert

Parameters Required Default Notes
$value Yes   The text inside the tag.
$attributes No [] Any attributes to add to the tag.

Code

{{ HTML::insert('This is inserted text') }}

Output

_images/insert.png

underline

Parameters Required Default Notes
$value Yes   The text inside the tag.
$attributes No [] Any attributes to add to the tag.

Code

{{ HTML::underline('This is underlined text') }}

Output

_images/underline.png

mark

Parameters Required Default Notes
$value Yes   The text inside the tag.
$attributes No [] Any attributes to add to the tag.

Code

This is {{ HTML::mark('marked') }} text

Output

_images/mark.png

small

Parameters Required Default Notes
$value Yes   The text inside the tag.
$attributes No [] Any attributes to add to the tag.

Code

This is {{ HTML::small('small') }} text

Output

_images/small.png

lead

Parameters Required Default Notes
$value Yes   The text inside the tag.

Code

{{ HTML::lead('This text should stand out.') }}

Output

_images/lead.png

quote

Parameters Required Default Notes
$value Yes   The text inside the tag.
$source No null The source of the quote.

Code

{{ HTML::quote('This is quoted text.', 'By Stygian') }}

Output

_images/quote.png

description

To use bootstrap description lists pass an array to this method. The key will be the bolded text, the value will be the description text.

Parameters Required Default Notes
$list Yes   The text inside the tag.
$attributes No [] Any attributes to add to the tag.

Code

$list = ['Description lists' => 'A description list is perfect for defining terms.', 'Euismod' => 'something'];

{{ HTML::description($list) }}
{{ HTML::description($list, ['class' => 'dl-horizontal']) }}

Output

_images/description.png

Code

code

Parameters Required Default Notes
$value Yes   The text inside the tag.
$attributes No [] Any attributes to add to the tag.

Code

This is {{ HTML::code('code') }} text

Output

_images/code.png

kbd

KBD can accept either a single key or an array of keys. If it gets an array, it will automatically place the + between them.

Parameters Required Default Notes
$keys Yes   The keyboard key(S) that will be used.

Code

{{ HTML::kbd('ctrl') }}
{{ HTML::kbd(['ctrl', 'alt', 'del']) }}

Output

_images/kbd.png

Iframes

iframe

This will create a generic iframe with whatever you pass to it.

Parameters Required Default Notes
$url Yes   The url the iframe will point to.
$attributes No [] Any attributes to add to the tag.

Code

{{ HTML::iframe('http://google.com') }}

embed

This will create a bootstrap iframe that uses responsive sizing.

Parameters Required Default Notes
$url Yes   The url the iframe will point to.
$aspect No 16by9 Valid aspects are 16by9 and 4by3.

Code

{{ HTML::embed('http://google.com', '4by3') }}