When developing web applications, my preference is to use HTML tags rather than JavaScript solutions whenever possible.