Category | HTML helper functions - div |
Code Examples | div( class[string], text[string], attributes[array], escape[bool] )
=$html->div('tab','Home');?>
to output the following:
Home
=$html->div('story',$story['Story']['contents']);?>
uses a few less characters than does this:
=$story['Story']['contents'];?> |
Test Code | |
Links | |
Remarks | |
Cancel |