public function removeClass($className)
    {
        if(strlen($className) < 1)
        {
            throw new HTMLTagException("Class name is empty");
        }

        $classes = explode(" ", $this->getClasses());
        $this->clearClasses();

        foreach($classes as $class) {
            if(strtolower($class) != strtolower($className))
            {
                $this->addClass($class);
            }
        }

        return $this;
    }