Briefing Magento Knowledge

Which code snippet is the correct way to create a block…

You have added some HTML to a custom template located at “template/mytemplates/custom.phtml”. Which
code snippet is the correct way to create a block for custom.phtml in the layout XML?

A.
<block type=“core/template” name=“custom” template=“mytemplates/custom.phtml”/>

B.
<block type=“core/template” name=“custom”
template=“template/mytemplates/ custom.phtml”/>

C.
<block type=“custom1’ name=“custom”
template=“template/mytemplates/ custom.phtml”/>

D.
<block type=“custom” name=“custom” template=“mytemplates/custom.phtml”/>