How to use HTML helper parastart?

So I can create a HTML paragraph using HTML Helper

$this->Html->para(null, 'Hello');

But if you look at their source code the ‘parastart’ is available here: cakephp/src/View/Helper/HtmlHelper.php at cde1bcd26061a80d8ff857bbd31320a46a237afe · cakephp/cakephp · GitHub

So far I had tried

echo $this->Html->para(null, null); //return <p></p>

So how to use HTML Helper “parastart”?

When you pass null as the second parameter ($text) to para(), it uses the ‘parastart’ template instead of the ‘para’ template:

// Line 992-995
$tag = ‘para’;
if ($text === null) {
$tag = ‘parastart’;
}

Templates defined (line 70-71):

‘para’ => ‘<p{{attrs}}>{{content}}’, // Complete paragraph
‘parastart’ => ‘<p{{attrs}}>’, // Opening tag only

Bottom line: parastart isnt directly used or usable, but indirectly inside the helper method.