creating abstract class for common methods and attributes of html tags