In my project i am using the portal example. I need to attach a custom html tag to each portlet. I need to create an xhtml page using these portlets

for example..for the first portlet the tag will be like '<tr>.....</tr>
for the second portlet '<tr><td></td></tr>
how this can be done?