Best free html editor

I was wondering if anyone knows of a html editor that auto finishes your tags and also lets you make your own auto finishing tags.