How to design user-friendly web forms?

Web forms are ubiquitous and are a part and parcel of almost every website. Users interact with websites most commonly via forms. Be it to enter credit card details, fill in personal details, or sign up for a service. They act as a user interface for your web application. Hence, the user interface for web