Basic parsing of HTML attributes.