Difference between triggers and workflow rules in Salesforce

1. Triggers can work across objects.
2. Coding is required.
3. Trigger works before and after some actions.

Workflow rules
1. Workflow Rules will be helpful to update the same object or master object in custom master-detail relationships.
2. Coding is not required.
3. Workflows work only after some actions.