SlideShare a Scribd company logo
PSD to HTML Conversion
Designing a website involves many
steps, and one of the most important is
the conversion of PSD files into HTML
format. Here, we will discuss how to do
the conversion process easily and
efficiently. Before you start the
process, you first need to know some
of the basics.
What is PSD?
PSD means a Photoshop document. Photoshop
is a popular application for image editing. It helps
you to edit photos, create designs using layers
and save the final design in various formats. The
default file format in Photoshop is *.PSD.
Web designers first create their designs in
Photoshop. Those designs are then converted
into HTML format. Generally, the conversion job
is handled by the coding experts — not by
graphic designers.
What is HTML?
HTML stands for Hypertext Markup Language.
HTML is a popular coding language used for web
page creation. It uses preset tags. The latest HTML
version is HTML5.
Web design is a creative process, and if you start
coding directly, you may not get the creativity and
the aesthetic appeal in the process. Hence, having
a graphic representation of your design at the start
can tell you where you are heading in your website
creation. When you have the graphic representation
of the design, it is rather easier to work with the
codes.
Different approaches for converting PSD to
HTML
It is important to know what the options are before
beginning the process to convert your Photoshop
files into an HTML file.
Ways to enable the conversion process:

Self coding

Automated tools

Getting help from a PSD conversion company
This document will cover the process of self-coding.
Beginning the conversion process
We assume that you already have your design in
the PSD format. Finalize the design before you
start the conversion process.
If you are designing the website for your client,
then first get the approval of the design from your
client before you start the conversions so that
you don’t need to rework unnecessarily. PSD to
HTML conversions can be time-consuming: plan
well to avoid time wastage.
Different components of your web pages

Logo: The logo is generally placed in the
header of the webpage in most of the design
layouts.

Header: It refers to the top portion of your web
page. Depending on the layout, it could
contain the company’s logo, tagline, flash
animation, image, sliders and a navigation
menu.

Body: The body of the website contains the
textual content and user sign-in module if any.
When you are converting the website design which
you have created using Photoshop, you need to
make sure that all of these components are placed
in the appropriate positions without losing the
design harmony of the page.
Slicing
In this step, the PSD file which you have created
and made of several layers should be sliced.
Slicing is the breaking up of a single large image to multiple small
images. One of the benefits of using a sliced version of PSD in
your HTML page is that it will help in faster loading of the pages.
If the entire PSD file is kept a single PSD file then it will take
plenty of time for the page to download. To slice your image, you
can use the slicing tool available in Photoshop. There are four
types of slicing options available in Photoshop for breaking your
web page into small pieces:
Normal
Fixed Aspect Ratio
Fixed Size
Slices from Guides
Once you have sliced the PSD file, make sure to save the sliced
version using the option “Save for the Web”. Save these images
in ‘images’ directory.
Create required directories
You need to create the required directories in your
computer to proceed in an organized way:
Main folder with website name
Subfolder named ‘Images’ under the main folder.
Here you will store all the images that you will be
using for your website
Subfolder named ‘Styles’ for the CSS file or for style
sheets under the main folder
Working with HTML page
After you have created the required folders, now it is
time to create your HTML page. You can use an HTML
page builder such Adobe Dreamweaver or open source
option like Amaya or Komposer. Create a new file in
Dreamweaver and name it as index.html and then save
it in your main folder.
Next step is to create styles file. You can do this in an
HTML editor and save the new file as styles.css in the
CSS folder. In the style sheet, we will give all the
information regarding the stylistic features of HTML web
page like font size, font type, background color, the
position of the images, margins and fieldset among
others. The CSS style sheet should be linked to the
HTML page.
Building a set of website designs
Now, we will take you through the entire process of
getting from Photoshop to completed HTML.
We will build a set of PSD files for a website which
will become a WordPress theme.
Step 1 – Ready the editor
First of all, open the code editor of choice like
Dreamweaver and set up a “Site”.
Step 2 – Quick layout
Now, we will construct a quick overall
layout in HTML with some CSS just to
make sure we have got a good
foundation. We can also check it in
major browsers like IE, Safari and
Chrome.
Browser compatibility issues should be
sorted out now only.
Ready the Mockup (pt. 1)
In the first mockup, we should find:
The design is centered, means we have to wrap it in a
container and then center that container.
The design is a series of horizontal blocks. Sometimes
the blocks have two columns. We can do it in series.
We have a footer which is in a different color. It means
the background needs to be that color, if the user
browser stretches. Hence, the footer will need to sit in a
different container to the main stuff.
Here is the HTML layout:
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Creatif</title>
<link href="css/style.css" rel="stylesheet" type="text/css" media="all">
</head>
<body>
<div id="wrapper">
<div class="container">
<div id="header">
<img src=”images/logo.png”>
<ul>
<li><a href=”#”>menu1</a></li>
<li><a href=”#”>menu2</a></li>
<li><a href=”#”>menu3</a></li>
</ul>
</div>
<div id="main">
<div id="section1">
<h2>What is Lorem Ipsum?</h2>
<p>Section1 content</p>
</div>
<div id="section2">
<h2>Heading2</h2>
<p>Section2 content</p>
Ready the Mockup (pt. 2)
You can see that there are two
segments: the #main area and the
#footer area. Inside each, we have a
<div class=”container”> element which
will be fixed width and centered. The
main container includes a sequence of
<div>. Now we will add CSS code as
follows:
</div>
</div>
<div id="footer">
Copyright2017,All rights reserved.
</div>
</div>
</div>
</body>
</html>
body{
Background-color:#0c80ab;
}
.container{
Width:950px;
Margin:0 auto;
}
#header {
background: #86c0d5;
color: #000;
text-align: center;
font-size: 15px;
</div>
</div>
<div id="footer">
Copyright2017,All rights reserved.
</div>
</div>
</div>
</body>
</html>
Ready the Mockup (pt. 3)
Now we will add CSS code as follows:
We have set the body’s background
color as the light blue of the footer.
Then the #main area has the lighter
background. You can also see the
.container elements have a width of
950px and are centred using
margin:auto.
body{
Background-color:#0c80ab;
}
.container{
Width:950px;
Margin:0 auto;
}
#header {
background: #86c0d5;
color: #000;
text-align: center;
font-size: 15px;
}
/* ———————— MAIN CONTENT ————–*/
#header ul{
Float:right;
}
#header ul li{
Display:inline-block;
List-style:none;
}
#header ul li a{
Display:inline-block;
Color:#000;
Font-size:15px;
}
main {
Background-color:#6db3cd;
Margin-top:50px;
Padding:30px 0px;
}
#section1,#section2 {
float: left;
width: 100%;
background: #b6d9e6;
color: #000;
font-size: 15px;
text-align: left;
padding: 20px;
Margin-bottom:30px;
}
#section1 h2,#section2 h2{
Font-weight:bold;
color: #000;
Step 3 – Add some background images
So our layout is now in shape. With main elements positioned,
we can now style it up. First of all, we need some images. You
can make these yourself if you have layered PSDs. Now, use a
large background image. You can also create a background
image for the footer. So you can now update the CSS file and
add the new background images. The first thing to do is to create
a directory structure and get ready to build like an /images/
directory and a /scripts/ directory and save all CSS and HTML in
the root.
Each time you want to get your PSD files converted, you should
be careful of all the factors. Let quality be your watchword. If you
make your decisions on this factor, then they will be the right
ones.
font-size: 20px;
text-align: left;
padding: 0 20px;
}
#section1 p,#section2 p{
Font-size:16px;
Line-height:1.4;
Color:#000;
}
#footer{
Background:#86c0d5;
Color:#000;
Text-align:center;
Padding:60px;
PSD to HTML Conversion

More Related Content

What's hot

Web designing course
Web designing courseWeb designing course
Web designing course
mandeep Singh
 
Web Development
Web DevelopmentWeb Development
Web Development
Harshdeep Singh
 
Introduction to html5
Introduction to html5Introduction to html5
Introduction to html5
kolev-prp
 
HTML, CSS and Java Scripts Basics
HTML, CSS and Java Scripts BasicsHTML, CSS and Java Scripts Basics
HTML, CSS and Java Scripts Basics
Sun Technlogies
 
Unit j adobe dreamweaver cs6
Unit j adobe dreamweaver cs6Unit j adobe dreamweaver cs6
Unit j adobe dreamweaver cs6
Krista Lawrence
 
Web design and Development
Web design and DevelopmentWeb design and Development
Web design and Development
Shagor Ahmed
 
Html css java script basics All about you need
Html css java script basics All about you needHtml css java script basics All about you need
Html css java script basics All about you need
Dipen Parmar
 
Web designing
Web designingWeb designing
Web designing
Divya Uppal
 
Web designing course bangalore
Web designing course bangaloreWeb designing course bangalore
Web designing course bangalore
Infocampus Logics Pvt.Ltd.
 
Developing branding solutions
Developing branding solutionsDeveloping branding solutions
Developing branding solutions
Thomas Daly
 
Customizing Your WordPress Theme Using Firebug and Basic CSS
Customizing Your WordPress Theme Using Firebug and Basic CSSCustomizing Your WordPress Theme Using Firebug and Basic CSS
Customizing Your WordPress Theme Using Firebug and Basic CSS
Laura Hartwig
 
Lecture 1 intro to web designing
Lecture 1  intro to web designingLecture 1  intro to web designing
Lecture 1 intro to web designing
palhaftab
 
Web designing
Web designingWeb designing
Web designing
RobinSingh477
 
Group 3
Group 3Group 3
Group 3
karl cometa
 
HTML/HTML5
HTML/HTML5HTML/HTML5
HTML/HTML5
People Strategists
 
html & css
html & css html & css
html & css
umesh patil
 
Developing branding solutions for 2013
Developing branding solutions for 2013Developing branding solutions for 2013
Developing branding solutions for 2013
Thomas Daly
 
Create a stunning, mobile friendly business website with the divi theme
Create a stunning, mobile friendly business website with the divi themeCreate a stunning, mobile friendly business website with the divi theme
Create a stunning, mobile friendly business website with the divi theme
Michelle Castillo
 
WEB DESIGN
WEB DESIGNWEB DESIGN
Working with the Latest Tendenci Modules
Working with the Latest Tendenci ModulesWorking with the Latest Tendenci Modules

What's hot (20)

Web designing course
Web designing courseWeb designing course
Web designing course
 
Web Development
Web DevelopmentWeb Development
Web Development
 
Introduction to html5
Introduction to html5Introduction to html5
Introduction to html5
 
HTML, CSS and Java Scripts Basics
HTML, CSS and Java Scripts BasicsHTML, CSS and Java Scripts Basics
HTML, CSS and Java Scripts Basics
 
Unit j adobe dreamweaver cs6
Unit j adobe dreamweaver cs6Unit j adobe dreamweaver cs6
Unit j adobe dreamweaver cs6
 
Web design and Development
Web design and DevelopmentWeb design and Development
Web design and Development
 
Html css java script basics All about you need
Html css java script basics All about you needHtml css java script basics All about you need
Html css java script basics All about you need
 
Web designing
Web designingWeb designing
Web designing
 
Web designing course bangalore
Web designing course bangaloreWeb designing course bangalore
Web designing course bangalore
 
Developing branding solutions
Developing branding solutionsDeveloping branding solutions
Developing branding solutions
 
Customizing Your WordPress Theme Using Firebug and Basic CSS
Customizing Your WordPress Theme Using Firebug and Basic CSSCustomizing Your WordPress Theme Using Firebug and Basic CSS
Customizing Your WordPress Theme Using Firebug and Basic CSS
 
Lecture 1 intro to web designing
Lecture 1  intro to web designingLecture 1  intro to web designing
Lecture 1 intro to web designing
 
Web designing
Web designingWeb designing
Web designing
 
Group 3
Group 3Group 3
Group 3
 
HTML/HTML5
HTML/HTML5HTML/HTML5
HTML/HTML5
 
html & css
html & css html & css
html & css
 
Developing branding solutions for 2013
Developing branding solutions for 2013Developing branding solutions for 2013
Developing branding solutions for 2013
 
Create a stunning, mobile friendly business website with the divi theme
Create a stunning, mobile friendly business website with the divi themeCreate a stunning, mobile friendly business website with the divi theme
Create a stunning, mobile friendly business website with the divi theme
 
WEB DESIGN
WEB DESIGNWEB DESIGN
WEB DESIGN
 
Working with the Latest Tendenci Modules
Working with the Latest Tendenci ModulesWorking with the Latest Tendenci Modules
Working with the Latest Tendenci Modules
 

Similar to PSD to HTML Conversion

ARTICULOENINGLES
ARTICULOENINGLESARTICULOENINGLES
ARTICULOENINGLES
Mónica Sánchez Crisostomo
 
Psd to Html Conversion - Best Practices
Psd to Html Conversion - Best PracticesPsd to Html Conversion - Best Practices
Psd to Html Conversion - Best Practices
Mindfire Solutions
 
Intro to Design Manager
Intro to Design ManagerIntro to Design Manager
Intro to Design Manager
D'arce Hess
 
HTML/CSS Crash Course (april 4 2017)
HTML/CSS Crash Course (april 4 2017)HTML/CSS Crash Course (april 4 2017)
HTML/CSS Crash Course (april 4 2017)
Daniel Friedman
 
Web development
Web developmentWeb development
Web development
KAZEMBETVOnline
 
INTRODUCTIONS OF HTML
INTRODUCTIONS OF HTMLINTRODUCTIONS OF HTML
INTRODUCTIONS OF HTML
SURYANARAYANBISWAL1
 
Psd to html
Psd to htmlPsd to html
Psd to html
Len Biel
 
Intermediate Web Design.doc
Intermediate Web Design.docIntermediate Web Design.doc
Intermediate Web Design.doc
butest
 
Intermediate Web Design.doc
Intermediate Web Design.docIntermediate Web Design.doc
Intermediate Web Design.doc
butest
 
Convert PSD To Word Press In 6 Super Easy Steps
Convert PSD To Word Press In 6 Super Easy StepsConvert PSD To Word Press In 6 Super Easy Steps
Convert PSD To Word Press In 6 Super Easy Steps
SunTec India
 
Lesson 8 Computer Creating your Website.pdf
Lesson 8 Computer Creating your Website.pdfLesson 8 Computer Creating your Website.pdf
Lesson 8 Computer Creating your Website.pdf
AshleyJovelClavecill
 
BP304 - Blog It Up, Baby! Extending the new IBM Lotus Domino Blog Template
BP304 - Blog It Up, Baby! Extending the new IBM Lotus Domino Blog TemplateBP304 - Blog It Up, Baby! Extending the new IBM Lotus Domino Blog Template
BP304 - Blog It Up, Baby! Extending the new IBM Lotus Domino Blog Template
Sean Burgess
 
In Class Assignment 1 .docx
In Class Assignment 1                                        .docxIn Class Assignment 1                                        .docx
In Class Assignment 1 .docx
jaggernaoma
 
How to Splice Images for Web Design
How to Splice Images for Web DesignHow to Splice Images for Web Design
How to Splice Images for Web Design
Christopher Dill
 
Easy Guide on PSD to WordPress Conversion
Easy Guide on PSD to WordPress ConversionEasy Guide on PSD to WordPress Conversion
Easy Guide on PSD to WordPress Conversion
WordSuccor
 
Web design in 7 days by waqar
Web design in 7 days by waqarWeb design in 7 days by waqar
Web design in 7 days by waqar
Waqar Chodhry
 
Web design in 7 days
Web design in 7 daysWeb design in 7 days
Web design in 7 days
Shanmugam Thiagoo
 
Developing branding solutions for 2013
Developing branding solutions for 2013Developing branding solutions for 2013
Developing branding solutions for 2013
Thomas Daly
 
So, You Wanna Dev? Join the Team! - WordCamp Raleigh 2017
So, You Wanna Dev? Join the Team! - WordCamp Raleigh 2017 So, You Wanna Dev? Join the Team! - WordCamp Raleigh 2017
So, You Wanna Dev? Join the Team! - WordCamp Raleigh 2017
Evan Mullins
 
ppt of MANOJ KUMAR.pptx
ppt of MANOJ KUMAR.pptxppt of MANOJ KUMAR.pptx
ppt of MANOJ KUMAR.pptx
ManojKumar297202
 

Similar to PSD to HTML Conversion (20)

ARTICULOENINGLES
ARTICULOENINGLESARTICULOENINGLES
ARTICULOENINGLES
 
Psd to Html Conversion - Best Practices
Psd to Html Conversion - Best PracticesPsd to Html Conversion - Best Practices
Psd to Html Conversion - Best Practices
 
Intro to Design Manager
Intro to Design ManagerIntro to Design Manager
Intro to Design Manager
 
HTML/CSS Crash Course (april 4 2017)
HTML/CSS Crash Course (april 4 2017)HTML/CSS Crash Course (april 4 2017)
HTML/CSS Crash Course (april 4 2017)
 
Web development
Web developmentWeb development
Web development
 
INTRODUCTIONS OF HTML
INTRODUCTIONS OF HTMLINTRODUCTIONS OF HTML
INTRODUCTIONS OF HTML
 
Psd to html
Psd to htmlPsd to html
Psd to html
 
Intermediate Web Design.doc
Intermediate Web Design.docIntermediate Web Design.doc
Intermediate Web Design.doc
 
Intermediate Web Design.doc
Intermediate Web Design.docIntermediate Web Design.doc
Intermediate Web Design.doc
 
Convert PSD To Word Press In 6 Super Easy Steps
Convert PSD To Word Press In 6 Super Easy StepsConvert PSD To Word Press In 6 Super Easy Steps
Convert PSD To Word Press In 6 Super Easy Steps
 
Lesson 8 Computer Creating your Website.pdf
Lesson 8 Computer Creating your Website.pdfLesson 8 Computer Creating your Website.pdf
Lesson 8 Computer Creating your Website.pdf
 
BP304 - Blog It Up, Baby! Extending the new IBM Lotus Domino Blog Template
BP304 - Blog It Up, Baby! Extending the new IBM Lotus Domino Blog TemplateBP304 - Blog It Up, Baby! Extending the new IBM Lotus Domino Blog Template
BP304 - Blog It Up, Baby! Extending the new IBM Lotus Domino Blog Template
 
In Class Assignment 1 .docx
In Class Assignment 1                                        .docxIn Class Assignment 1                                        .docx
In Class Assignment 1 .docx
 
How to Splice Images for Web Design
How to Splice Images for Web DesignHow to Splice Images for Web Design
How to Splice Images for Web Design
 
Easy Guide on PSD to WordPress Conversion
Easy Guide on PSD to WordPress ConversionEasy Guide on PSD to WordPress Conversion
Easy Guide on PSD to WordPress Conversion
 
Web design in 7 days by waqar
Web design in 7 days by waqarWeb design in 7 days by waqar
Web design in 7 days by waqar
 
Web design in 7 days
Web design in 7 daysWeb design in 7 days
Web design in 7 days
 
Developing branding solutions for 2013
Developing branding solutions for 2013Developing branding solutions for 2013
Developing branding solutions for 2013
 
So, You Wanna Dev? Join the Team! - WordCamp Raleigh 2017
So, You Wanna Dev? Join the Team! - WordCamp Raleigh 2017 So, You Wanna Dev? Join the Team! - WordCamp Raleigh 2017
So, You Wanna Dev? Join the Team! - WordCamp Raleigh 2017
 
ppt of MANOJ KUMAR.pptx
ppt of MANOJ KUMAR.pptxppt of MANOJ KUMAR.pptx
ppt of MANOJ KUMAR.pptx
 

More from Darryl Sherman

Java Naming & Directory Services
Java Naming & Directory ServicesJava Naming & Directory Services
Java Naming & Directory Services
Darryl Sherman
 
Il 01-search engines
Il 01-search enginesIl 01-search engines
Il 01-search engines
Darryl Sherman
 
Il 02-search requeststrings
Il 02-search requeststringsIl 02-search requeststrings
Il 02-search requeststrings
Darryl Sherman
 
Python unit testing
Python unit testingPython unit testing
Python unit testing
Darryl Sherman
 
Angular js filters and directives
Angular js filters and directivesAngular js filters and directives
Angular js filters and directives
Darryl Sherman
 
Node js lecture
Node js lectureNode js lecture
Node js lecture
Darryl Sherman
 

More from Darryl Sherman (6)

Java Naming & Directory Services
Java Naming & Directory ServicesJava Naming & Directory Services
Java Naming & Directory Services
 
Il 01-search engines
Il 01-search enginesIl 01-search engines
Il 01-search engines
 
Il 02-search requeststrings
Il 02-search requeststringsIl 02-search requeststrings
Il 02-search requeststrings
 
Python unit testing
Python unit testingPython unit testing
Python unit testing
 
Angular js filters and directives
Angular js filters and directivesAngular js filters and directives
Angular js filters and directives
 
Node js lecture
Node js lectureNode js lecture
Node js lecture
 

Recently uploaded

UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling ExtensionsUI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
Peter Muessig
 
Energy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina JonuziEnergy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina Jonuzi
Green Software Development
 
Oracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptxOracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptx
Remote DBA Services
 
Why Choose Odoo 17 Community & How it differs from Odoo 17 Enterprise Edition
Why Choose Odoo 17 Community & How it differs from Odoo 17 Enterprise EditionWhy Choose Odoo 17 Community & How it differs from Odoo 17 Enterprise Edition
Why Choose Odoo 17 Community & How it differs from Odoo 17 Enterprise Edition
Envertis Software Solutions
 
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata
 
Fundamentals of Programming and Language Processors
Fundamentals of Programming and Language ProcessorsFundamentals of Programming and Language Processors
Fundamentals of Programming and Language Processors
Rakesh Kumar R
 
Transform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR SolutionsTransform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR Solutions
TheSMSPoint
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
Atelier - Innover avec l’IA Générative et les graphes de connaissances
Atelier - Innover avec l’IA Générative et les graphes de connaissancesAtelier - Innover avec l’IA Générative et les graphes de connaissances
Atelier - Innover avec l’IA Générative et les graphes de connaissances
Neo4j
 
openEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain SecurityopenEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain Security
Shane Coughlan
 
SWEBOK and Education at FUSE Okinawa 2024
SWEBOK and Education at FUSE Okinawa 2024SWEBOK and Education at FUSE Okinawa 2024
SWEBOK and Education at FUSE Okinawa 2024
Hironori Washizaki
 
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptxTop Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
rickgrimesss22
 
Revolutionizing Visual Effects Mastering AI Face Swaps.pdf
Revolutionizing Visual Effects Mastering AI Face Swaps.pdfRevolutionizing Visual Effects Mastering AI Face Swaps.pdf
Revolutionizing Visual Effects Mastering AI Face Swaps.pdf
Undress Baby
 
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdfAutomated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
timtebeek1
 
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI AppAI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
Google
 
Graspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code AnalysisGraspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code Analysis
Aftab Hussain
 
Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604
Fermin Galan
 
DDS-Security 1.2 - What's New? Stronger security for long-running systems
DDS-Security 1.2 - What's New? Stronger security for long-running systemsDDS-Security 1.2 - What's New? Stronger security for long-running systems
DDS-Security 1.2 - What's New? Stronger security for long-running systems
Gerardo Pardo-Castellote
 
E-commerce Application Development Company.pdf
E-commerce Application Development Company.pdfE-commerce Application Development Company.pdf
E-commerce Application Development Company.pdf
Hornet Dynamics
 
Artificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension FunctionsArtificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension Functions
Octavian Nadolu
 

Recently uploaded (20)

UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling ExtensionsUI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
 
Energy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina JonuziEnergy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina Jonuzi
 
Oracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptxOracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptx
 
Why Choose Odoo 17 Community & How it differs from Odoo 17 Enterprise Edition
Why Choose Odoo 17 Community & How it differs from Odoo 17 Enterprise EditionWhy Choose Odoo 17 Community & How it differs from Odoo 17 Enterprise Edition
Why Choose Odoo 17 Community & How it differs from Odoo 17 Enterprise Edition
 
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024
 
Fundamentals of Programming and Language Processors
Fundamentals of Programming and Language ProcessorsFundamentals of Programming and Language Processors
Fundamentals of Programming and Language Processors
 
Transform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR SolutionsTransform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR Solutions
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
Atelier - Innover avec l’IA Générative et les graphes de connaissances
Atelier - Innover avec l’IA Générative et les graphes de connaissancesAtelier - Innover avec l’IA Générative et les graphes de connaissances
Atelier - Innover avec l’IA Générative et les graphes de connaissances
 
openEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain SecurityopenEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain Security
 
SWEBOK and Education at FUSE Okinawa 2024
SWEBOK and Education at FUSE Okinawa 2024SWEBOK and Education at FUSE Okinawa 2024
SWEBOK and Education at FUSE Okinawa 2024
 
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptxTop Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
 
Revolutionizing Visual Effects Mastering AI Face Swaps.pdf
Revolutionizing Visual Effects Mastering AI Face Swaps.pdfRevolutionizing Visual Effects Mastering AI Face Swaps.pdf
Revolutionizing Visual Effects Mastering AI Face Swaps.pdf
 
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdfAutomated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
 
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI AppAI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
 
Graspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code AnalysisGraspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code Analysis
 
Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604
 
DDS-Security 1.2 - What's New? Stronger security for long-running systems
DDS-Security 1.2 - What's New? Stronger security for long-running systemsDDS-Security 1.2 - What's New? Stronger security for long-running systems
DDS-Security 1.2 - What's New? Stronger security for long-running systems
 
E-commerce Application Development Company.pdf
E-commerce Application Development Company.pdfE-commerce Application Development Company.pdf
E-commerce Application Development Company.pdf
 
Artificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension FunctionsArtificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension Functions
 

PSD to HTML Conversion

  • 1. PSD to HTML Conversion
  • 2. Designing a website involves many steps, and one of the most important is the conversion of PSD files into HTML format. Here, we will discuss how to do the conversion process easily and efficiently. Before you start the process, you first need to know some of the basics.
  • 3. What is PSD? PSD means a Photoshop document. Photoshop is a popular application for image editing. It helps you to edit photos, create designs using layers and save the final design in various formats. The default file format in Photoshop is *.PSD. Web designers first create their designs in Photoshop. Those designs are then converted into HTML format. Generally, the conversion job is handled by the coding experts — not by graphic designers.
  • 4. What is HTML? HTML stands for Hypertext Markup Language. HTML is a popular coding language used for web page creation. It uses preset tags. The latest HTML version is HTML5. Web design is a creative process, and if you start coding directly, you may not get the creativity and the aesthetic appeal in the process. Hence, having a graphic representation of your design at the start can tell you where you are heading in your website creation. When you have the graphic representation of the design, it is rather easier to work with the codes.
  • 5. Different approaches for converting PSD to HTML It is important to know what the options are before beginning the process to convert your Photoshop files into an HTML file. Ways to enable the conversion process:  Self coding  Automated tools  Getting help from a PSD conversion company This document will cover the process of self-coding.
  • 6. Beginning the conversion process We assume that you already have your design in the PSD format. Finalize the design before you start the conversion process. If you are designing the website for your client, then first get the approval of the design from your client before you start the conversions so that you don’t need to rework unnecessarily. PSD to HTML conversions can be time-consuming: plan well to avoid time wastage.
  • 7. Different components of your web pages  Logo: The logo is generally placed in the header of the webpage in most of the design layouts.  Header: It refers to the top portion of your web page. Depending on the layout, it could contain the company’s logo, tagline, flash animation, image, sliders and a navigation menu.  Body: The body of the website contains the textual content and user sign-in module if any. When you are converting the website design which you have created using Photoshop, you need to make sure that all of these components are placed in the appropriate positions without losing the design harmony of the page.
  • 8. Slicing In this step, the PSD file which you have created and made of several layers should be sliced. Slicing is the breaking up of a single large image to multiple small images. One of the benefits of using a sliced version of PSD in your HTML page is that it will help in faster loading of the pages. If the entire PSD file is kept a single PSD file then it will take plenty of time for the page to download. To slice your image, you can use the slicing tool available in Photoshop. There are four types of slicing options available in Photoshop for breaking your web page into small pieces: Normal Fixed Aspect Ratio Fixed Size Slices from Guides Once you have sliced the PSD file, make sure to save the sliced version using the option “Save for the Web”. Save these images in ‘images’ directory.
  • 9. Create required directories You need to create the required directories in your computer to proceed in an organized way: Main folder with website name Subfolder named ‘Images’ under the main folder. Here you will store all the images that you will be using for your website Subfolder named ‘Styles’ for the CSS file or for style sheets under the main folder
  • 10. Working with HTML page After you have created the required folders, now it is time to create your HTML page. You can use an HTML page builder such Adobe Dreamweaver or open source option like Amaya or Komposer. Create a new file in Dreamweaver and name it as index.html and then save it in your main folder. Next step is to create styles file. You can do this in an HTML editor and save the new file as styles.css in the CSS folder. In the style sheet, we will give all the information regarding the stylistic features of HTML web page like font size, font type, background color, the position of the images, margins and fieldset among others. The CSS style sheet should be linked to the HTML page.
  • 11. Building a set of website designs Now, we will take you through the entire process of getting from Photoshop to completed HTML. We will build a set of PSD files for a website which will become a WordPress theme.
  • 12. Step 1 – Ready the editor First of all, open the code editor of choice like Dreamweaver and set up a “Site”.
  • 13. Step 2 – Quick layout Now, we will construct a quick overall layout in HTML with some CSS just to make sure we have got a good foundation. We can also check it in major browsers like IE, Safari and Chrome. Browser compatibility issues should be sorted out now only.
  • 14. Ready the Mockup (pt. 1) In the first mockup, we should find: The design is centered, means we have to wrap it in a container and then center that container. The design is a series of horizontal blocks. Sometimes the blocks have two columns. We can do it in series. We have a footer which is in a different color. It means the background needs to be that color, if the user browser stretches. Hence, the footer will need to sit in a different container to the main stuff. Here is the HTML layout: <!doctype html> <html> <head> <meta charset="utf-8"> <title>Creatif</title> <link href="css/style.css" rel="stylesheet" type="text/css" media="all"> </head> <body> <div id="wrapper"> <div class="container"> <div id="header"> <img src=”images/logo.png”> <ul> <li><a href=”#”>menu1</a></li> <li><a href=”#”>menu2</a></li> <li><a href=”#”>menu3</a></li> </ul> </div> <div id="main"> <div id="section1"> <h2>What is Lorem Ipsum?</h2> <p>Section1 content</p> </div> <div id="section2"> <h2>Heading2</h2> <p>Section2 content</p>
  • 15. Ready the Mockup (pt. 2) You can see that there are two segments: the #main area and the #footer area. Inside each, we have a <div class=”container”> element which will be fixed width and centered. The main container includes a sequence of <div>. Now we will add CSS code as follows: </div> </div> <div id="footer"> Copyright2017,All rights reserved. </div> </div> </div> </body> </html> body{ Background-color:#0c80ab; } .container{ Width:950px; Margin:0 auto; } #header { background: #86c0d5; color: #000; text-align: center; font-size: 15px; </div> </div> <div id="footer"> Copyright2017,All rights reserved. </div> </div> </div> </body> </html>
  • 16. Ready the Mockup (pt. 3) Now we will add CSS code as follows: We have set the body’s background color as the light blue of the footer. Then the #main area has the lighter background. You can also see the .container elements have a width of 950px and are centred using margin:auto. body{ Background-color:#0c80ab; } .container{ Width:950px; Margin:0 auto; } #header { background: #86c0d5; color: #000; text-align: center; font-size: 15px; } /* ———————— MAIN CONTENT ————–*/ #header ul{ Float:right; } #header ul li{ Display:inline-block; List-style:none; } #header ul li a{ Display:inline-block; Color:#000; Font-size:15px; } main { Background-color:#6db3cd; Margin-top:50px; Padding:30px 0px; } #section1,#section2 { float: left; width: 100%; background: #b6d9e6; color: #000; font-size: 15px; text-align: left; padding: 20px; Margin-bottom:30px; } #section1 h2,#section2 h2{ Font-weight:bold; color: #000;
  • 17. Step 3 – Add some background images So our layout is now in shape. With main elements positioned, we can now style it up. First of all, we need some images. You can make these yourself if you have layered PSDs. Now, use a large background image. You can also create a background image for the footer. So you can now update the CSS file and add the new background images. The first thing to do is to create a directory structure and get ready to build like an /images/ directory and a /scripts/ directory and save all CSS and HTML in the root. Each time you want to get your PSD files converted, you should be careful of all the factors. Let quality be your watchword. If you make your decisions on this factor, then they will be the right ones. font-size: 20px; text-align: left; padding: 0 20px; } #section1 p,#section2 p{ Font-size:16px; Line-height:1.4; Color:#000; } #footer{ Background:#86c0d5; Color:#000; Text-align:center; Padding:60px;
  • 18. PSD to HTML Conversion