Meera,
The answer is yes, obviously, but I am guessing you would want to know how this works, and that depends on what you mean with tags: format tags (paragraph or character formats), element tags in a structured document, condition tags ?
Kind regards
Jang