Are websites designed first before their coded?

I get there are web designers and web developers. However, would somebody wanting to create a website design their website on Photoshop or whatever first then pass this on to a programmer to implement the HTML/CSS/JS/PHP Etc? Or would they simply just use a text editor to build their website from scratch? - What... show more I get there are web designers and web developers. However, would somebody wanting to create a website design their website on Photoshop or whatever first then pass this on to a programmer to implement the HTML/CSS/JS/PHP Etc?

Or would they simply just use a text editor to build their website from scratch? - What is the easiest way?
6 answers 6