Modified creating anchor element.