Very simple helper for parsing tags in HTML