Grid cell id not returning

I put the folling string in to a grid cell

t = "<p style='font-size:12px'>" & ard.rows.item(r)["starttime"] & "</p><h3>" & UnSafeSQL(ard.rows.item(r)["clientname"]) & "</h3 id='DayGrid_" & br & "_0'>"

but when I click on the cell it only returns its id when I click on a part of the cell there is no text.

Is there a work around? Is my cell id correct?
I tried ....e"]) & "</h3><id='DayGrid_" & br & "_0'>"

Tip : If you’re pasting code, html or config files, surround the code with triple back ticks (```), before the first line and after the last one. It will be formatted properly. (We fixed it for you this time)