SlideShare a Scribd company logo
Session on 
HTML, CSS & UI/UX 
Design 
By Karthikeyan 10-31-2014
• Quick revision on HTML & CSS 
• Few Standards & Practices on HTML & CSS 
• Introduction to HTML 5 
• HTML 5 Best Practices on Semantics Elements 
& 
• What is UI/UX 
• Why UX is important 
• Few UI Principles to follow… 
Agenda for next 2 hrs 
2
Lets get started with the quick revision of 
HTML & CSS 3
• What is HTML? 
• HTML is a language for describing webpages 
• HTML Stands for Hyper Text Markup Language 
• When it is started and how it is growing up? 
• HTML 1.0 - 1993 
• HTML 2.0 -1995 
• HTML 3.2 - 1997 
• HTML 4.0 - 1998 
• HTML 4.01 - 1999 
• XHTML – Combination of XML & HTML ( Very Strict) 2000 
• HTML 5 – 2004 – its still growing 
HTML ? ! 
4
• USE of HTML & CSS 
• Website is a way to present your content to the world, using HTML & 
CSS to present that content & make it look neat. 
• Your content 
• HTML: Structure + 
• CSS: Presentation = Website 
Use of HTML 
5
• A paragraph is your content. 
• Putting your content into an html tag to make it look 
like a paragraph is a structure. 
<p>I am a Paragraph </p> 
Make the font of your paragraph “blue” and “18px” is presentation which 
you will be using CSS 
Content - Example 
6
• Element 
• An individual component of HTML is 
• Paragraph, Table & Lists 
• Tag 
• Markers that signal the beginning and end of an element. 
• Opening tag and Closing Tag 
<p> this is my sample text </p> 
Structures of an HTML 
7
• Container Element 
• An element that can contain other elements or content 
• A paragraph <p> contains text 
• Standalone Element 
• An element that cnnot contain anything else 
• <hr/> 
• <img/> 
Structures of an HTML 8
• Attribute 
• Each elements can have a variety of attributes 
• For Ex;- Language, style, identity, source, input 
• Value 
• Value is the value assigned to a given attribute ( For Ex:- 
• For Ex:- <p lang=“fr”> C’est ;a vie </p> 
• <img src=“my.picture.jpg”/> 
Structures of an HTML 9
• CSS = Cascading Style Sheets 
• CSS used to style the elements on your page. 
• CSS is works in conjunction with HTML, but is not HTML 
itself. 
Review CSS 
10
① Inline Styles 
② Internal Style 
③ External Style ( Recommended way to use ) 
3 Types of StyleSheets 
11
Selector { 
Property:value; 
} 
• A block of css is Rule Block 
• The rule starts with a selector. 
• And It has sets of properties & Values 
CSS Rule 
12
• Property and value of style you plan to use on HTML 
element. 
• Value ends with a semicolon ; 
• So these declaration can be grouped and surrounded by 
curly brackets. 
Selector{ 
Property:value; 
Property:value; 
} 
CSS Syntax 
13
P{ 
Property:value; 
} 
Selects all paragraph elements. 
Img{ 
Property: value; 
} 
Selects all image elements 
Selector Element 
14
#footer { 
Property:value; 
} 
Selects all elements with an id of “footer” 
<p id=“footer”> Copyrights 2014 </p> 
The associated HTML 
Selector ID 
15
.warning { 
color: red; 
} 
Selects all elements with a class of “warning” 
<p class=“ warning”> run away </p> 
The associated HTML 
Selector Class 
16
p em{ 
color: green; 
} 
Selects all em elements that are withing a paragraph 
<p> This is <em> important. </em></p> 
The Associated HTML 
Selector Position .End 
17
Standard Practices 18
• Reset CSS Files 
• Standard widths and sizes 
• Wrappers 
Standard Practices 
19
• Even though HTML is the structure and CSS is the design, 
some HTML elements have their own default style values. 
• Few Examples: 
• Bulleted list <li> </li> have standard bullets style. 
• Paragraph <p></p> have default padding 
• Links <a></a> are blue and underlined by default 
Reset Css 
20
• Most Elements: 
Margin:0; 
Padding:0; 
Border:0; 
Font-size:100%; 
Font:inherit; 
Vertical Align:baseline; 
• Lists 
List-style:none; 
Reset Css 
21
Some sizes that are good to know about 
• A standard font size is usually 12px 
• Screens vary greatly in width! Standardize your design a 
couple ways 
• Set the body width to a specific width 
• Set the content width to 100%, with max-width of around 
1200px/1400px and <min-width of around 960px. 
Standard widths & Sizes 
22
• Wrappers are a good way to center content if the screen 
width is wider than your content. 
.wrapper{ 
Width:100%; 
Max-width:1400px; 
Margin: 0 auto; 
} 
Wrappers .End 
23
HTML 5 24
• Formally HTML5 is the W3c specification for the next 
version of html 
• Informally people use HTML5 to refer to whole set of 
new web standards and abilities 
• HTML5, CSS3 & Javascript 
HTML5 What is it 
25
HTML Specifications 
• 2004 – started 
• 2008- first public working draft 
• 2011 – last call 
• 2012 working draft 
• 2014 – planned for stable recommendation 
Finally HTML5 became the W3C Standards on ( October 29 2014 
) 
HTML Specification 
26
• Chrome 
• Firefox 
• IE ( After Ver-8 few features )  
• Safari 
• Opera 
Supported Broswers 
27
What's so cool about it? 
Few old elements have been obsolete 
• Frame, Frameset, no frames 
• Presentational elements and attributes replaced by CSS 
e.g.font, big,center) 
New in Html5 & CSS3 
28
• Redefines a few things 
• It gives semantic meaning to few old elements and 
separates them from presentation ( eg. B, I, strong, em) 
New in Html5 & CSS3 29
Semantics: Html5 now includes new tags that describe parts of a document. 
Not there are dedicated tags for navigations elements, articles, sections, headers 
& footers. 
New Form Elements: Forms have some major updates. There are several new 
versions of the <input> elements, allowing user to pick colors, numbers, e-mail 
addresses & dates with easy –to use elements. Made it more user friendly ( 
even you don’t need to add a JavaScript to validations forms) if you use a 
proper input types. 
Media Elements: At long last, they have native support for audio & video with 
tags similar to the <img>tags. 
Canvas tag: It allows the developer to build graphics interactively. This 
capability will allow for very intriguing capabilities like custom gaming and 
interface elements. 
HTML 4 to HTML5 
30
• Embedded Font support: with this you can include a font with a webpage, 
and it will render even if the user doesn’t have the font installed on her 
operating system. 
• New selectors : Selectors are used to describe a chunk of code to be 
modified. CSS3 now supports new selectors that let choose every other 
element, as well as specific sub elements ( different types of input tags) 
• Columns: Html has never had decent support columns and all kinds of hacks 
have been used to overcome this shortcoming. Finally , CSS includes the 
ability to break an element into any number of columns easily. 
• Visual Enhancements: CSS has a number of interesting new capabilities : 
Transparency, shadows, rounded corners animation, gradients & 
transformations. These provide a profound new level of control over the 
appearance of a page. 
CSS and HTML5 
31
• Local Storage Mechanism: HTML 5 now allows the developer to store data 
on the client. There is even a built in database manager that accepts SQL 
Commands. 
• Geo-location: This interesting features uses a variety of mechanism to 
determine where the user is located. 
• And lot more.. …. 
JAVASCRIPT & HTML5 
32
<!doctype html> 
Minimum information required to ensure that a broser 
renders using a standards mode 
Old doctypes 
<!doctype htmll public “-w3c … 4.01 bla bla blaa 
> 
HTML5 Doctype 
33
The use of HTML markup to re-inforce the semantics or 
meaning of the information in webpages rather than merely 
to define its presentation (look) 
Semantics 
Give meaning to structure 
Semantic HTML 
34
<div id=“header”></div 
<div class=“nav”> </div 
<div id=“fopoter”></div> 
Semantic 
<header></header> 
<nav></nav> 
<footer></footer> 
Not Semantic 
35
<Section> 
Group together thematically related to content 
Similar to prior use of the div, but div has no semantic 
meaning 
New Structural Elements 
36
<Header> 
Container for group of a introductory or navigational aids 
Document can have multiple header elements 
• E.g One for the page, one for each section 
New Structural Elements 37
<Footer> 
Contains information about its containing element 
• E.g who wrote it.. copyright links to related content 
Document can have multiple footer elements 
• Eg one for the page one for the each section. 
New Structural Elements 38
<aside> 
Tangentially related content 
• E.g sidebar, pull quotes 
<nav> 
Contains major navigational information 
Usually a list of links 
Often lives in the header 
• E.g site navigation 
New Structural Elements 39
<Article> 
Self- contained related content 
• E.g blog posts, news stories, comments , reviews, forum posts 
New Structural Elements 
40
Not Semantic 41
Semantic 42
• Accessibility 
• Searchability 
• Internationalization 
It also helps treat the plague of div-itis 
What is the use Semantics Markups and 
advantages 
43
• HTML5SHIV 
• HTML5shiv IE enabling script 
• <!– if it ie 9!? 
• <script src=“html5shjiv.js></script. 
• <!9endig) 
• Polyfill (n) javascripts shim that replicated the standard api for 
older broswers 
Hack for old browsers END.. 
44
UI/UX ? 45
UX is about satisfaction 
UI is about functionality 
UX is designing for user to come back to the site 
UI is designing for customers to reach their goal when onsite 
UX focuses on the structure & layout of content navigation 
and how users interact with them. 
UI focuses on functionality with nice look and feel 
What is UX/UI? 
46
UX measures the ROI of usability to look for 
• More frequent visits to your website/product 
• Increased return visits to your site 
• User staying longer on your site 
• Increased sales 
• Decreases user errors 
• Decreased customer support costs 
• Reduced word of mouth complaints 
Why UX 
47
Few UI Principles need to be followed 48
Keep it Simple 
Interface elements on demand 
49
Make it Straight forward.. 
IN-page editing, drage & drop 
50
Stay on Context 51
Guide User 
For First time user! Tell them what to do next 
52
Always keep informed the users. What's happening! 
Always Provide Feedback 
53
Don’t forget Aesthetics 54
Increase Efficiency 
By Providing Keyboard Shortcuts 
55
Good UI is obvious 
Great UI is invisible 
So always Inspire others work and try to adapt new patterns 
& Trends. 
56
Think for the user, don't make them think! 
Completing todays session with my favorite 
Quote 
57

More Related Content

What's hot

Multimedia development process
Multimedia development processMultimedia development process
Multimedia development process
hrishharish
 
An Overview of HTML, CSS & Java Script
An Overview of HTML, CSS & Java ScriptAn Overview of HTML, CSS & Java Script
An Overview of HTML, CSS & Java Script
Fahim Abdullah
 
Understanding the Web Page Layout
Understanding the Web Page LayoutUnderstanding the Web Page Layout
Understanding the Web Page Layout
Jhaun Paul Enriquez
 
Web application framework
Web application frameworkWeb application framework
Web application framework
Pankaj Chand
 
PHP Workshop Notes
PHP Workshop NotesPHP Workshop Notes
PHP Workshop Notes
Pamela Fox
 
Web engineering
Web engineeringWeb engineering
Web engineering
•sreejith •sree
 
introduction to web technology
introduction to web technologyintroduction to web technology
introduction to web technologyvikram singh
 
Multimedia- How Internet Works
Multimedia- How Internet WorksMultimedia- How Internet Works
Multimedia- How Internet Works
sambhenilesh
 
Web Application Development Tools for Creating Perfect User Experience
Web Application Development Tools for Creating Perfect User ExperienceWeb Application Development Tools for Creating Perfect User Experience
Web Application Development Tools for Creating Perfect User Experience
ChromeInfo Technologies
 
HTML CSS Basics
HTML CSS BasicsHTML CSS Basics
HTML CSS Basics
Mai Moustafa
 
PHP HTML CSS Notes
PHP HTML CSS  NotesPHP HTML CSS  Notes
PHP HTML CSS Notes
Tushar Rajput
 
Basic Details of HTML and CSS.pdf
Basic Details of HTML and CSS.pdfBasic Details of HTML and CSS.pdf
Basic Details of HTML and CSS.pdf
Kalyani Government Engineering College
 
PHP.ppt
PHP.pptPHP.ppt
Chapter 3 : IMAGE
Chapter 3 : IMAGEChapter 3 : IMAGE
Chapter 3 : IMAGE
azira96
 
Html5 for mobiles
Html5 for mobilesHtml5 for mobiles
Html5 for mobiles
Christian Glahn
 
Scripting Languages
Scripting LanguagesScripting Languages
Scripting Languages
Forrester High School
 
Front end web development
Front end web developmentFront end web development
Front end web development
viveksewa
 
Web Design 101
Web Design 101Web Design 101
Web Design 101
T.S. Lim
 
Intro to HTML & CSS
Intro to HTML & CSSIntro to HTML & CSS
Intro to HTML & CSS
Syed Sami
 
Ppt of web development
Ppt of web developmentPpt of web development
Ppt of web developmentbethanygfair
 

What's hot (20)

Multimedia development process
Multimedia development processMultimedia development process
Multimedia development process
 
An Overview of HTML, CSS & Java Script
An Overview of HTML, CSS & Java ScriptAn Overview of HTML, CSS & Java Script
An Overview of HTML, CSS & Java Script
 
Understanding the Web Page Layout
Understanding the Web Page LayoutUnderstanding the Web Page Layout
Understanding the Web Page Layout
 
Web application framework
Web application frameworkWeb application framework
Web application framework
 
PHP Workshop Notes
PHP Workshop NotesPHP Workshop Notes
PHP Workshop Notes
 
Web engineering
Web engineeringWeb engineering
Web engineering
 
introduction to web technology
introduction to web technologyintroduction to web technology
introduction to web technology
 
Multimedia- How Internet Works
Multimedia- How Internet WorksMultimedia- How Internet Works
Multimedia- How Internet Works
 
Web Application Development Tools for Creating Perfect User Experience
Web Application Development Tools for Creating Perfect User ExperienceWeb Application Development Tools for Creating Perfect User Experience
Web Application Development Tools for Creating Perfect User Experience
 
HTML CSS Basics
HTML CSS BasicsHTML CSS Basics
HTML CSS Basics
 
PHP HTML CSS Notes
PHP HTML CSS  NotesPHP HTML CSS  Notes
PHP HTML CSS Notes
 
Basic Details of HTML and CSS.pdf
Basic Details of HTML and CSS.pdfBasic Details of HTML and CSS.pdf
Basic Details of HTML and CSS.pdf
 
PHP.ppt
PHP.pptPHP.ppt
PHP.ppt
 
Chapter 3 : IMAGE
Chapter 3 : IMAGEChapter 3 : IMAGE
Chapter 3 : IMAGE
 
Html5 for mobiles
Html5 for mobilesHtml5 for mobiles
Html5 for mobiles
 
Scripting Languages
Scripting LanguagesScripting Languages
Scripting Languages
 
Front end web development
Front end web developmentFront end web development
Front end web development
 
Web Design 101
Web Design 101Web Design 101
Web Design 101
 
Intro to HTML & CSS
Intro to HTML & CSSIntro to HTML & CSS
Intro to HTML & CSS
 
Ppt of web development
Ppt of web developmentPpt of web development
Ppt of web development
 

Viewers also liked

Introduction to UI Components in Magento 2
Introduction to UI Components in Magento 2Introduction to UI Components in Magento 2
Introduction to UI Components in Magento 2
Sergii Ivashchenko
 
Responsive UI using CSS Media Query
Responsive UI using CSS Media QueryResponsive UI using CSS Media Query
Responsive UI using CSS Media Query
Neev Technologies
 
Le Wagon - UI and Design Crash Course
Le Wagon - UI and Design Crash CourseLe Wagon - UI and Design Crash Course
Le Wagon - UI and Design Crash Course
Boris Paillard
 
Le Wagon - UI components design
Le Wagon - UI components designLe Wagon - UI components design
Le Wagon - UI components design
Boris Paillard
 
Le Wagon's Product Design Sprint
Le Wagon's Product Design SprintLe Wagon's Product Design Sprint
Le Wagon's Product Design Sprint
Boris Paillard
 
Le Wagon - 2h Landing
Le Wagon - 2h LandingLe Wagon - 2h Landing
Le Wagon - 2h Landing
Boris Paillard
 
UI + Frameworks
UI + FrameworksUI + Frameworks
UI + Frameworks
Barbara Wolff Dick
 
Simple flat ui css accordion
Simple flat ui css accordionSimple flat ui css accordion
Simple flat ui css accordion
Samsury Blog
 
Le Wagon - Javascript for Beginners
Le Wagon - Javascript for BeginnersLe Wagon - Javascript for Beginners
Le Wagon - Javascript for Beginners
SĂŠbastien Saunier
 
Modern UI Development With Node.js
Modern UI Development With Node.jsModern UI Development With Node.js
Modern UI Development With Node.js
Ryan Anklam
 
Web Components and Modular CSS
Web Components and Modular CSSWeb Components and Modular CSS
Web Components and Modular CSS
Andrew Rota
 
international paper Q1 2004 10-Q
international paper Q1 2004 10-Qinternational paper Q1 2004 10-Q
international paper Q1 2004 10-Qfinance12
 
constellation energy 2007 Annual Report
constellation energy 2007 Annual Reportconstellation energy 2007 Annual Report
constellation energy 2007 Annual Reportfinance12
 
wyeth Merrill Lynch Global Pharmaceutical, Biotechnology and Medical Device ...
wyeth 	Merrill Lynch Global Pharmaceutical, Biotechnology and Medical Device ...wyeth 	Merrill Lynch Global Pharmaceutical, Biotechnology and Medical Device ...
wyeth Merrill Lynch Global Pharmaceutical, Biotechnology and Medical Device ...finance12
 
BuddyPress v4
BuddyPress v4BuddyPress v4
BuddyPress v4David Bisset
 
LinkedIN -Jerome Vittoz - CRM 12 - Thesis MA Final
LinkedIN -Jerome Vittoz - CRM 12 - Thesis MA FinalLinkedIN -Jerome Vittoz - CRM 12 - Thesis MA Final
LinkedIN -Jerome Vittoz - CRM 12 - Thesis MA FinalJerome Vittoz
 
goodyear 10Q Reports1Q'07 10-Q
goodyear 10Q Reports1Q'07 10-Qgoodyear 10Q Reports1Q'07 10-Q
goodyear 10Q Reports1Q'07 10-Qfinance12
 
Jesus feeds 5000
Jesus feeds 5000Jesus feeds 5000
Jesus feeds 5000
jbatham
 
WordPress Miami Meetup: Top 9 (August 2015)
WordPress Miami Meetup: Top 9 (August 2015)WordPress Miami Meetup: Top 9 (August 2015)
WordPress Miami Meetup: Top 9 (August 2015)
David Bisset
 

Viewers also liked (20)

Introduction to UI Components in Magento 2
Introduction to UI Components in Magento 2Introduction to UI Components in Magento 2
Introduction to UI Components in Magento 2
 
Responsive UI using CSS Media Query
Responsive UI using CSS Media QueryResponsive UI using CSS Media Query
Responsive UI using CSS Media Query
 
Le Wagon - UI and Design Crash Course
Le Wagon - UI and Design Crash CourseLe Wagon - UI and Design Crash Course
Le Wagon - UI and Design Crash Course
 
Le Wagon - UI components design
Le Wagon - UI components designLe Wagon - UI components design
Le Wagon - UI components design
 
Le Wagon's Product Design Sprint
Le Wagon's Product Design SprintLe Wagon's Product Design Sprint
Le Wagon's Product Design Sprint
 
Le Wagon - 2h Landing
Le Wagon - 2h LandingLe Wagon - 2h Landing
Le Wagon - 2h Landing
 
UI + Frameworks
UI + FrameworksUI + Frameworks
UI + Frameworks
 
Simple flat ui css accordion
Simple flat ui css accordionSimple flat ui css accordion
Simple flat ui css accordion
 
Le Wagon - Javascript for Beginners
Le Wagon - Javascript for BeginnersLe Wagon - Javascript for Beginners
Le Wagon - Javascript for Beginners
 
Modern UI Development With Node.js
Modern UI Development With Node.jsModern UI Development With Node.js
Modern UI Development With Node.js
 
Web Components and Modular CSS
Web Components and Modular CSSWeb Components and Modular CSS
Web Components and Modular CSS
 
P Antallazos
P AntallazosP Antallazos
P Antallazos
 
international paper Q1 2004 10-Q
international paper Q1 2004 10-Qinternational paper Q1 2004 10-Q
international paper Q1 2004 10-Q
 
constellation energy 2007 Annual Report
constellation energy 2007 Annual Reportconstellation energy 2007 Annual Report
constellation energy 2007 Annual Report
 
wyeth Merrill Lynch Global Pharmaceutical, Biotechnology and Medical Device ...
wyeth 	Merrill Lynch Global Pharmaceutical, Biotechnology and Medical Device ...wyeth 	Merrill Lynch Global Pharmaceutical, Biotechnology and Medical Device ...
wyeth Merrill Lynch Global Pharmaceutical, Biotechnology and Medical Device ...
 
BuddyPress v4
BuddyPress v4BuddyPress v4
BuddyPress v4
 
LinkedIN -Jerome Vittoz - CRM 12 - Thesis MA Final
LinkedIN -Jerome Vittoz - CRM 12 - Thesis MA FinalLinkedIN -Jerome Vittoz - CRM 12 - Thesis MA Final
LinkedIN -Jerome Vittoz - CRM 12 - Thesis MA Final
 
goodyear 10Q Reports1Q'07 10-Q
goodyear 10Q Reports1Q'07 10-Qgoodyear 10Q Reports1Q'07 10-Q
goodyear 10Q Reports1Q'07 10-Q
 
Jesus feeds 5000
Jesus feeds 5000Jesus feeds 5000
Jesus feeds 5000
 
WordPress Miami Meetup: Top 9 (August 2015)
WordPress Miami Meetup: Top 9 (August 2015)WordPress Miami Meetup: Top 9 (August 2015)
WordPress Miami Meetup: Top 9 (August 2015)
 

Similar to Html,CSS & UI/UX design

9781285852645_CH01 research and analysis of data.pptx
9781285852645_CH01 research and analysis of data.pptx9781285852645_CH01 research and analysis of data.pptx
9781285852645_CH01 research and analysis of data.pptx
clement swarnappa
 
Fii Practic Frontend BeeNear - laborator 1
Fii Practic Frontend BeeNear - laborator 1Fii Practic Frontend BeeNear - laborator 1
Fii Practic Frontend BeeNear - laborator 1BeeNear
 
Html5 n css3
Html5 n css3Html5 n css3
Html5 n css3Jindal Gohil
 
Html5
Html5 Html5
Html5
Shiva RamDam
 
02 From HTML tags to XHTML
02 From HTML tags to XHTML02 From HTML tags to XHTML
02 From HTML tags to XHTML
Rich Dron
 
Web Concepts - an introduction - introduction
Web Concepts - an introduction - introductionWeb Concepts - an introduction - introduction
Web Concepts - an introduction - introduction
clement swarnappa
 
MTA html5 text_graphics_media
MTA html5 text_graphics_mediaMTA html5 text_graphics_media
MTA html5 text_graphics_media
Dhairya Joshi
 
Web component driven development
Web component driven developmentWeb component driven development
Web component driven development
Gil Fink
 
Ppt ch01
Ppt ch01Ppt ch01
Ppt ch01niruttisai
 
Ppt ch01
Ppt ch01Ppt ch01
Ppt ch011geassking
 
Web design-workflow
Web design-workflowWeb design-workflow
Web design-workflowPeter Kaizer
 
Introduction to HTML language Web design.pptx
Introduction to HTML language Web design.pptxIntroduction to HTML language Web design.pptx
Introduction to HTML language Web design.pptx
lekhacce
 
HTML5
HTML5HTML5
Chapter 2 introduction to html5
Chapter 2 introduction to html5Chapter 2 introduction to html5
Chapter 2 introduction to html5
nobel mujuji
 
Html presentation
Html presentationHtml presentation
Html presentationJordan Dichev
 
Html5 shubelal
Html5 shubelalHtml5 shubelal
Html5 shubelal
Shub
 
Prueba ppt
Prueba pptPrueba ppt
Prueba ppt
Ulises Torelli
 
Html5v1
Html5v1Html5v1
Html5v1
Ulises Torelli
 

Similar to Html,CSS & UI/UX design (20)

9781285852645_CH01 research and analysis of data.pptx
9781285852645_CH01 research and analysis of data.pptx9781285852645_CH01 research and analysis of data.pptx
9781285852645_CH01 research and analysis of data.pptx
 
Fii Practic Frontend BeeNear - laborator 1
Fii Practic Frontend BeeNear - laborator 1Fii Practic Frontend BeeNear - laborator 1
Fii Practic Frontend BeeNear - laborator 1
 
Html5 n css3
Html5 n css3Html5 n css3
Html5 n css3
 
Html5
Html5 Html5
Html5
 
02 From HTML tags to XHTML
02 From HTML tags to XHTML02 From HTML tags to XHTML
02 From HTML tags to XHTML
 
Web Concepts - an introduction - introduction
Web Concepts - an introduction - introductionWeb Concepts - an introduction - introduction
Web Concepts - an introduction - introduction
 
MTA html5 text_graphics_media
MTA html5 text_graphics_mediaMTA html5 text_graphics_media
MTA html5 text_graphics_media
 
Web component driven development
Web component driven developmentWeb component driven development
Web component driven development
 
Ppt ch01
Ppt ch01Ppt ch01
Ppt ch01
 
Ppt ch01
Ppt ch01Ppt ch01
Ppt ch01
 
Dhtml ppt (2)
Dhtml ppt (2)Dhtml ppt (2)
Dhtml ppt (2)
 
Web design-workflow
Web design-workflowWeb design-workflow
Web design-workflow
 
Introduction to HTML language Web design.pptx
Introduction to HTML language Web design.pptxIntroduction to HTML language Web design.pptx
Introduction to HTML language Web design.pptx
 
HTML5
HTML5HTML5
HTML5
 
Chapter 2 introduction to html5
Chapter 2 introduction to html5Chapter 2 introduction to html5
Chapter 2 introduction to html5
 
Html presentation
Html presentationHtml presentation
Html presentation
 
Html5 shubelal
Html5 shubelalHtml5 shubelal
Html5 shubelal
 
Web Information Systems Html and css
Web Information Systems Html and cssWeb Information Systems Html and css
Web Information Systems Html and css
 
Prueba ppt
Prueba pptPrueba ppt
Prueba ppt
 
Html5v1
Html5v1Html5v1
Html5v1
 

Recently uploaded

Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Product School
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
Elena Simperl
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
Frank van Harmelen
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
Cheryl Hung
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Product School
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
Product School
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Product School
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
DianaGray10
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
Product School
 

Recently uploaded (20)

Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
 

Html,CSS & UI/UX design

  • 1. Session on HTML, CSS & UI/UX Design By Karthikeyan 10-31-2014
  • 2. • Quick revision on HTML & CSS • Few Standards & Practices on HTML & CSS • Introduction to HTML 5 • HTML 5 Best Practices on Semantics Elements & • What is UI/UX • Why UX is important • Few UI Principles to follow… Agenda for next 2 hrs 2
  • 3. Lets get started with the quick revision of HTML & CSS 3
  • 4. • What is HTML? • HTML is a language for describing webpages • HTML Stands for Hyper Text Markup Language • When it is started and how it is growing up? • HTML 1.0 - 1993 • HTML 2.0 -1995 • HTML 3.2 - 1997 • HTML 4.0 - 1998 • HTML 4.01 - 1999 • XHTML – Combination of XML & HTML ( Very Strict) 2000 • HTML 5 – 2004 – its still growing HTML ? ! 4
  • 5. • USE of HTML & CSS • Website is a way to present your content to the world, using HTML & CSS to present that content & make it look neat. • Your content • HTML: Structure + • CSS: Presentation = Website Use of HTML 5
  • 6. • A paragraph is your content. • Putting your content into an html tag to make it look like a paragraph is a structure. <p>I am a Paragraph </p> Make the font of your paragraph “blue” and “18px” is presentation which you will be using CSS Content - Example 6
  • 7. • Element • An individual component of HTML is • Paragraph, Table & Lists • Tag • Markers that signal the beginning and end of an element. • Opening tag and Closing Tag <p> this is my sample text </p> Structures of an HTML 7
  • 8. • Container Element • An element that can contain other elements or content • A paragraph <p> contains text • Standalone Element • An element that cnnot contain anything else • <hr/> • <img/> Structures of an HTML 8
  • 9. • Attribute • Each elements can have a variety of attributes • For Ex;- Language, style, identity, source, input • Value • Value is the value assigned to a given attribute ( For Ex:- • For Ex:- <p lang=“fr”> C’est ;a vie </p> • <img src=“my.picture.jpg”/> Structures of an HTML 9
  • 10. • CSS = Cascading Style Sheets • CSS used to style the elements on your page. • CSS is works in conjunction with HTML, but is not HTML itself. Review CSS 10
  • 11. ① Inline Styles ② Internal Style ③ External Style ( Recommended way to use ) 3 Types of StyleSheets 11
  • 12. Selector { Property:value; } • A block of css is Rule Block • The rule starts with a selector. • And It has sets of properties & Values CSS Rule 12
  • 13. • Property and value of style you plan to use on HTML element. • Value ends with a semicolon ; • So these declaration can be grouped and surrounded by curly brackets. Selector{ Property:value; Property:value; } CSS Syntax 13
  • 14. P{ Property:value; } Selects all paragraph elements. Img{ Property: value; } Selects all image elements Selector Element 14
  • 15. #footer { Property:value; } Selects all elements with an id of “footer” <p id=“footer”> Copyrights 2014 </p> The associated HTML Selector ID 15
  • 16. .warning { color: red; } Selects all elements with a class of “warning” <p class=“ warning”> run away </p> The associated HTML Selector Class 16
  • 17. p em{ color: green; } Selects all em elements that are withing a paragraph <p> This is <em> important. </em></p> The Associated HTML Selector Position .End 17
  • 19. • Reset CSS Files • Standard widths and sizes • Wrappers Standard Practices 19
  • 20. • Even though HTML is the structure and CSS is the design, some HTML elements have their own default style values. • Few Examples: • Bulleted list <li> </li> have standard bullets style. • Paragraph <p></p> have default padding • Links <a></a> are blue and underlined by default Reset Css 20
  • 21. • Most Elements: Margin:0; Padding:0; Border:0; Font-size:100%; Font:inherit; Vertical Align:baseline; • Lists List-style:none; Reset Css 21
  • 22. Some sizes that are good to know about • A standard font size is usually 12px • Screens vary greatly in width! Standardize your design a couple ways • Set the body width to a specific width • Set the content width to 100%, with max-width of around 1200px/1400px and <min-width of around 960px. Standard widths & Sizes 22
  • 23. • Wrappers are a good way to center content if the screen width is wider than your content. .wrapper{ Width:100%; Max-width:1400px; Margin: 0 auto; } Wrappers .End 23
  • 25. • Formally HTML5 is the W3c specification for the next version of html • Informally people use HTML5 to refer to whole set of new web standards and abilities • HTML5, CSS3 & Javascript HTML5 What is it 25
  • 26. HTML Specifications • 2004 – started • 2008- first public working draft • 2011 – last call • 2012 working draft • 2014 – planned for stable recommendation Finally HTML5 became the W3C Standards on ( October 29 2014 ) HTML Specification 26
  • 27. • Chrome • Firefox • IE ( After Ver-8 few features )  • Safari • Opera Supported Broswers 27
  • 28. What's so cool about it? Few old elements have been obsolete • Frame, Frameset, no frames • Presentational elements and attributes replaced by CSS e.g.font, big,center) New in Html5 & CSS3 28
  • 29. • Redefines a few things • It gives semantic meaning to few old elements and separates them from presentation ( eg. B, I, strong, em) New in Html5 & CSS3 29
  • 30. Semantics: Html5 now includes new tags that describe parts of a document. Not there are dedicated tags for navigations elements, articles, sections, headers & footers. New Form Elements: Forms have some major updates. There are several new versions of the <input> elements, allowing user to pick colors, numbers, e-mail addresses & dates with easy –to use elements. Made it more user friendly ( even you don’t need to add a JavaScript to validations forms) if you use a proper input types. Media Elements: At long last, they have native support for audio & video with tags similar to the <img>tags. Canvas tag: It allows the developer to build graphics interactively. This capability will allow for very intriguing capabilities like custom gaming and interface elements. HTML 4 to HTML5 30
  • 31. • Embedded Font support: with this you can include a font with a webpage, and it will render even if the user doesn’t have the font installed on her operating system. • New selectors : Selectors are used to describe a chunk of code to be modified. CSS3 now supports new selectors that let choose every other element, as well as specific sub elements ( different types of input tags) • Columns: Html has never had decent support columns and all kinds of hacks have been used to overcome this shortcoming. Finally , CSS includes the ability to break an element into any number of columns easily. • Visual Enhancements: CSS has a number of interesting new capabilities : Transparency, shadows, rounded corners animation, gradients & transformations. These provide a profound new level of control over the appearance of a page. CSS and HTML5 31
  • 32. • Local Storage Mechanism: HTML 5 now allows the developer to store data on the client. There is even a built in database manager that accepts SQL Commands. • Geo-location: This interesting features uses a variety of mechanism to determine where the user is located. • And lot more.. …. JAVASCRIPT & HTML5 32
  • 33. <!doctype html> Minimum information required to ensure that a broser renders using a standards mode Old doctypes <!doctype htmll public “-w3c … 4.01 bla bla blaa > HTML5 Doctype 33
  • 34. The use of HTML markup to re-inforce the semantics or meaning of the information in webpages rather than merely to define its presentation (look) Semantics Give meaning to structure Semantic HTML 34
  • 35. <div id=“header”></div <div class=“nav”> </div <div id=“fopoter”></div> Semantic <header></header> <nav></nav> <footer></footer> Not Semantic 35
  • 36. <Section> Group together thematically related to content Similar to prior use of the div, but div has no semantic meaning New Structural Elements 36
  • 37. <Header> Container for group of a introductory or navigational aids Document can have multiple header elements • E.g One for the page, one for each section New Structural Elements 37
  • 38. <Footer> Contains information about its containing element • E.g who wrote it.. copyright links to related content Document can have multiple footer elements • Eg one for the page one for the each section. New Structural Elements 38
  • 39. <aside> Tangentially related content • E.g sidebar, pull quotes <nav> Contains major navigational information Usually a list of links Often lives in the header • E.g site navigation New Structural Elements 39
  • 40. <Article> Self- contained related content • E.g blog posts, news stories, comments , reviews, forum posts New Structural Elements 40
  • 43. • Accessibility • Searchability • Internationalization It also helps treat the plague of div-itis What is the use Semantics Markups and advantages 43
  • 44. • HTML5SHIV • HTML5shiv IE enabling script • <!– if it ie 9!? • <script src=“html5shjiv.js></script. • <!9endig) • Polyfill (n) javascripts shim that replicated the standard api for older broswers Hack for old browsers END.. 44
  • 46. UX is about satisfaction UI is about functionality UX is designing for user to come back to the site UI is designing for customers to reach their goal when onsite UX focuses on the structure & layout of content navigation and how users interact with them. UI focuses on functionality with nice look and feel What is UX/UI? 46
  • 47. UX measures the ROI of usability to look for • More frequent visits to your website/product • Increased return visits to your site • User staying longer on your site • Increased sales • Decreases user errors • Decreased customer support costs • Reduced word of mouth complaints Why UX 47
  • 48. Few UI Principles need to be followed 48
  • 49. Keep it Simple Interface elements on demand 49
  • 50. Make it Straight forward.. IN-page editing, drage & drop 50
  • 52. Guide User For First time user! Tell them what to do next 52
  • 53. Always keep informed the users. What's happening! Always Provide Feedback 53
  • 55. Increase Efficiency By Providing Keyboard Shortcuts 55
  • 56. Good UI is obvious Great UI is invisible So always Inspire others work and try to adapt new patterns & Trends. 56
  • 57. Think for the user, don't make them think! Completing todays session with my favorite Quote 57