Go to Setup --> Web-to-Case.
Select Enable Web-to-Case checkbox
Choose the Default case origin
If you want to respond back to the customer,once the case is created via web form choose the response template.
Go to Setup --> Click the "Generate the HTML" link. Select the required fields and enter the return URL and click the "Generate" button.
Copy and paste the HTML generated in your blog or website.