o/p edited
Register function added
Anchor func. added for <a> tag