added a base class for html standars, and a method for extract links