Amazingly, Illustrator allows you to output to multiple formats. However, it's vector based work allows your designs to work in far wider range of places beyond just the pixelated world of the web.
Logos, icons, or other illustrations should be done in Illustrator. If you do a 500px logo in Photoshop, you are effective fixed at 500px.
If you're merely referring to using Photoshop as a glorified layout editor for creating a quick rendition of the site, I guess that's fine. But then it's overkill by a large margin for the task.
If you expect to do graphics for the web, learn illustrator. If you except to merely mock up a site to later have it used merely as a reference for CSS/HTML, then their is less expensive software out there.
After you make something in Illustrator, you must must must look at the raster result it makes when you actually commit to a size and make actual png files.
Just slinging vectors at a problem fails in the last mile, often causing blurriness or jaggies.
You need illustrator + photoshop or illustrator + fireworks to really "do a job" as they say.
Logos, icons, or other illustrations should be done in Illustrator. If you do a 500px logo in Photoshop, you are effective fixed at 500px.
If you're merely referring to using Photoshop as a glorified layout editor for creating a quick rendition of the site, I guess that's fine. But then it's overkill by a large margin for the task.
If you expect to do graphics for the web, learn illustrator. If you except to merely mock up a site to later have it used merely as a reference for CSS/HTML, then their is less expensive software out there.