#pragma once #include class HTMLAnchorElement : public HTMLElement { public: HTMLAnchorElement(Document&, const String& tag_name); virtual ~HTMLAnchorElement() override; String href() const { return attribute("href"); } }; template<> inline bool is(const Node& node) { return is(node) && to(node).tag_name().to_lowercase() == "a"; }