Oh, one more things, I'd replace every instance of 'tags' with 'tag names' or 'HTML tag names' for clarity reasons.