{"id":456,"date":"2017-09-20T08:05:07","date_gmt":"2017-09-20T08:05:07","guid":{"rendered":"http:\/\/www.onlypsd2html.com\/blog\/?p=456"},"modified":"2017-09-20T08:05:07","modified_gmt":"2017-09-20T08:05:07","slug":"what-is-psd-to-html","status":"publish","type":"post","link":"https:\/\/www.onlypsd2html.com\/blog\/what-is-psd-to-html\/","title":{"rendered":"What is PSD to HTML?"},"content":{"rendered":"<h2>What is PSD to HTML?<\/h2>\n<p>In general, \u201cPSD to HTML\u201d is a workflow. First, a web page is designed in a Photoshop Document (PSD) and then converted to code (using HTML, CSS, and JavaScript). You could swap Photoshop with any other image editor (like Pixelmator, GIMP, and so on), but the principle is the same. Here\u2019s a slightly more detailed step-by-step breakdown:<\/p>\n<ol>\n<li>Design a high fidelity pixel-perfect mockup in Photoshop of\u00a0<em>exactly<\/em> what you want your site to look like.<em><br \/>\n<\/em><\/li>\n<li>Use the slice tool to divide your website\u2019s imagery and then export it for the web.<\/li>\n<li>Write HTML and CSS that utilizes the imagery you exported from Photoshop.<\/li>\n<\/ol>\n<p>At first glance, this might seem like a good idea. It can be difficult to start coding if you don\u2019t know what the final result is going to look like, so experimenting in Photoshop first and then \u201cexporting\u201d it to HTML sounds like a granular and sensible process.<\/p>\n<p>In Photoshop, the slices feature in the save for web dialog used to be an essential tool for designers saving assets from a PSD. It made it easy to \u201cslice\u201d a design into images and then layout in a web page using HTML and CSS.<\/p>\n<p>Taking this idea further, many web companies have used PSD to HTML as a template for team workflows. In other words, a designer creates the Photoshop mockup and then hands it over to a developer that writes all of the code. In modern times, the job role of a web designer tends to encompass aesthetics as well as HTML and CSS coding.<\/p>\n<h2>Was PSD to HTML ever a good idea?<\/h2>\n<p>Yes, PSD to HTML workflows used to be one of the best ways to make websites. There\u2019s two big reasons why PSD to HTML\u00a0<em>used<\/em> to make sense.<\/p>\n<p>The first reason is for image assets. Before browsers supported all the wonderful features of modern CSS (drop shadows, rounded corners, gradients, and more) it was very difficult to create cross-browser effects without the use of images. Designers would create shadows and rounded corners as images, then clever coding tricks were used to place the imagery on the page. These assets would need to be realized no matter what, so creating them at the same time as the high fidelity mockup actually saved time.<\/p>\n<p>Secondly (and perhaps more importantly) the web used to only be available on desktop browsers and wasn\u2019t <em>really<\/em> present on phones and tablets in the way it is today. Designing for one fixed resolution of 1024\u00d7768 used to be totally viable.<\/p>\n<p>For these two reasons, it\u2019s understandable why a designer would look to Photoshop as their primary web design tool. Image assets were needed for a single screen resolution.<\/p>\n<h2>What\u2019s wrong with PSD to HTML now?<\/h2>\n<p>When pitted against other areas of art and technology, the web is a relatively young medium and things change fast. I\u2019ve made dozens of websites using some variation of the PSD to HTML mindset and I\u2019m sure many people reading this have done the same, but it\u2019s time to move on. Here are the primary reasons why I believe thinking in terms of PSD to HTML is dead.<\/p>\n<h3>Responsive Web Design<\/h3>\n<p>First, there are now a myriad of methods for browsing the web. Phones, tablets, desktops, notebooks, televisions, and more. There is no single screen resolution that a designer can target. Taking that idea a few steps further, there\u2019s really no number of screen resolutions that you can safely \u201ctarget\u201d anymore.<\/p>\n<p>I\u2019m not going to delve into the finer details of <a href=\"http:\/\/www.onlypsd2html.com\/psd-to-html.html\" target=\"_blank\">responsive web design<\/a>\u00a0or scalable design, but the point is that Photoshop is\u00a0<em>pixel<\/em> based. Web pages are fluid and change.<\/p>\n<h3>CSS Design<\/h3>\n<p>Second, new features in CSS have now become commonly available. There are still a few lingering issues here and there, but support has\u00a0<em>vastly<\/em>\u00a0improved in the last several years. Common effects like shadows, gradients, and rounded corners can be accomplished in CSS and usually don\u2019t even need an image-based fallback anymore.<\/p>\n<h3>Maturity<\/h3>\n<p>Third, the web industry has grown up a lot. Collectively we\u2019ve had more time to refine our present understanding of what works and what doesn\u2019t. Most companies will expect a designer to take ownership of aesthetics as well as HTML and CSS code.<\/p>\n<p>This also means there are much\u00a0better tools to support modern workflows. CSS frameworks like Bootstrap and Foundation make it more viable to design in the browser. Apps like Balsamiq and Omnigraffle help to wireframe sites rapidly. Pencil and paper mockups have stood the test of time because they allow for extremely rapid iteration.<\/p>\n<h2>Does this mean Photoshop is dead?<\/h2>\n<p>No! Not even close. Photoshop is still very important to web design. The problem comes in when a powerful\u00a0tool like Photoshop is used as a catch all solution without thinking of the higher level task (designing websites). Photoshop is awesome for editing and exporting photographs for web usage. There\u2019s also plenty of situations where it still might make sense to generate full detail mockups (in Photoshop, Illustrator, or otherwise) as part of a more complete process. Here are a couple of examples:<\/p>\n<ul>\n<li>High fidelity mockups can be a critical communication tool when working with web design clients.\u00a0It might\u00a0<em>seem<\/em>\u00a0faster to skip a high detail mockup, but\u00a0it could hurt later on, because many clients aren\u2019t going to understand how a wireframe will translate to a web browser. A high fidelity mockup\u00a0can serve as a discussion tool before writing lots of code (only to discover it\u2019s not what the client wanted).<\/li>\n<li>High fidelity mockups can be very important when working in medium to large sized teams. We often will create high res mockups at Treehouse when planning new courses or designing new features of our site, because it\u2019s a powerful way to sync everyone\u2019s mental model of what a feature will look like or how a project might look once it\u2019s finished.<\/li>\n<\/ul>\n<p>These two examples have a key difference from the PSD to HTML way of thinking. High detail mockups are still sometimes generated, but not so that they can be \u201ctossed over the fence\u201d to a team of developers or sliced up into code. Rather, Photoshop mockups can be used as a visual aid to discuss ideas. In a PSD to HTML workflow, the Photoshop document represents the final site and it\u2019s expected to look exactly the same in the browser. This is a subtle but important difference.<\/p>\n<h2>Different Strokes<\/h2>\n<p>Everyone\u2019s workflow is different and nobody knows how to make the perfect website. You should always do whatever is most effective for you and your colleagues. Pushing pixels around in Photoshop is a ton of fun, but I can admit to many occasions when I\u2019ve pushed the pixels too far. The key is to know yourself and what makes you perform at your best. If you have any questions or opinions, I\u2019d love to hear about them in the comments!<\/p>\n","protected":false},"excerpt":{"rendered":"What is PSD to HTML? In general, \u201cPSD to HTML\u201d is a workflow. [&hellip;]","protected":false},"author":1,"featured_media":457,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[64,168,55,169,10,171,59,23,170,69],"class_list":["post-456","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-psd-to-html","tag-convert-psd-to-html","tag-converting-a-design-from-psd-to-html","tag-psd-2-html","tag-psd-2-html5","tag-psd-to-html","tag-psd-to-html-coding-service","tag-psd-to-html-converter","tag-psd-to-html5","tag-psd-to-mobile-friendly-html","tag-psd-to-responsive-html"],"_links":{"self":[{"href":"https:\/\/www.onlypsd2html.com\/blog\/wp-json\/wp\/v2\/posts\/456","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.onlypsd2html.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.onlypsd2html.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.onlypsd2html.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.onlypsd2html.com\/blog\/wp-json\/wp\/v2\/comments?post=456"}],"version-history":[{"count":2,"href":"https:\/\/www.onlypsd2html.com\/blog\/wp-json\/wp\/v2\/posts\/456\/revisions"}],"predecessor-version":[{"id":459,"href":"https:\/\/www.onlypsd2html.com\/blog\/wp-json\/wp\/v2\/posts\/456\/revisions\/459"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.onlypsd2html.com\/blog\/wp-json\/wp\/v2\/media\/457"}],"wp:attachment":[{"href":"https:\/\/www.onlypsd2html.com\/blog\/wp-json\/wp\/v2\/media?parent=456"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.onlypsd2html.com\/blog\/wp-json\/wp\/v2\/categories?post=456"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.onlypsd2html.com\/blog\/wp-json\/wp\/v2\/tags?post=456"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}