i dn get u..
if i do so,wont i be pushing as characters into stack..
i wanna extract as substring..
like..


<html>
<body>
sdfg
</body>
</html>

In this code,
once i reach '<' in <html>,i need to store "html" as a string..
again wen i reach <body>,push "body" again as a string..
and wen i reach '</',in </body>,i pop d earlier n check whether both r same..


so,i need 2 push "html" as a singl string..