I am learning Photoshop, does Photoshop generates HTML and CSS files, I am a web designer and I am figuring out to convert the .PSD file to Html Css.
Once you have the design of your website, you can use the sizes of the elements in photoshop to determine the sizes of the elements in CSS.
However you should really write your own code, and not use a HTML/CSS generator to make the website for you.
However, if you really want to do this automatically, check out www.psdtoweb.de, it converts PSD to HTML and CSS quite well, but you will probably have to do some tweaking yourself
I would not recommend that. You will most likely end up with poorly structured HTML, bad inefficient CSS styles.
A good idea though is auto generating the CSS required. CSS hat ($35) & CSS3ps (Free) will give you all the styles need to recreate an element in photoshop. you will still need to write the html though.
Before you proceed with converting PSD to HTML, you might want to validate Photoshop file to make sure it's properly set up. Try using https://www.oss-usa.com/web-preflight?promo=web-preflight to check for correct font usage, font properties, device-specific size and file organization.