SlideShare une entreprise Scribd logo
1  sur  34
Chapter 1
Variables in the Web Design
Environment
2
Principles of Web Design Chapter 1
Objectives
• Describe the current state and design
limitations of HTML
• Learn how XML and XHTML could transform
the Web
• Describe how Web browsers affect the way
users view your site
• Decide if you should use an HTML editor to
create markup code
3
Principles of Web Design Chapter 1
Objectives
• Describe how screen resolution and
connection speed affect the user’s browsing
experience
• Clear the cache when testing your site
4
Principles of Web Design Chapter 1
HTML: Then and Now
• HTML is an application of the Standard
Generalized Markup Language
• Intended to represent simple document
structure
• Uses hypertext to link related topics
• Designed for use over the internet
• The document expression capabilities of
HTML are currently pushed to the limit
5
Principles of Web Design Chapter 1
HTML as a Markup Language
• A markup language is a structured language
that lets you identify common sections of a
document such as headings, paragraphs, and
lists.
• An HTML file includes text and HTML markup
elements
• The browser interprets the HTML markup
elements and displays the results, hiding the
actual markup tags from the user
6
Principles of Web Design Chapter 1
HTML as a Markup Language
• HTML is an open, non-proprietary, cross-
platform compatible language
• HTML is not a What You See Is What You
Get (WYSIWYG) layout tool.
• HTML was intended only to express logical
document structure, not display
characteristics
7
Principles of Web Design Chapter 1
Deprecated Elements
• Deprecated elements are elements that the
W3C has identified as obsolete. They will not
be included in future releases of HTML
• Some examples of these elements are
<FONT> and <CENTER>
8
Principles of Web Design Chapter 1
Understanding XML
• XML is the Extensible Markup Language
• XML is a meta-language; not a language
itself, but a language that let’s you describe
other languages
• XML Describes Data, not Presentation
• XML Allows Better Access to Data
• XML Lends Itself to Customized Information
9
Principles of Web Design Chapter 1
XHTML: The Future of HTML
• XHTML is the Extensible Hypertext Markup
Language
• HTML as an Application of XML
• Improved Data Handling
• Style Sheets are Required
10
Principles of Web Design Chapter 1
How Browsers Affect Your Work
• One of the greatest challenges facing HTML
authors is designing pages that display
properly in multiple browsers
• Every browser contains a program called a
parser that interprets the markup tags in an
HTML file and displays the results in the
canvas area of the browser interface
11
Principles of Web Design Chapter 1
12
Principles of Web Design Chapter 1
How Browsers Affect Your Work
• The logic for interpreting the HTML tags is
different in every browser, resulting in varying
interpretations of the way the HTML file is
displayed
• Although it’s a good idea to test with the latest
browsers, it’s also prudent to test your work in
older browsers as well
13
Principles of Web Design Chapter 1
How Browsers Affect Your Work
• Lowest common denominator coding - use an
older version of HTML to ensure portability
• Cutting-edge coding - push the medium
forward by coding to the latest standard and
using the latest enhancements
• Browser-specific coding - specify a particular
brand and version of browser to access the
site
14
Principles of Web Design Chapter 1
Solving the Browser Dilemma
• You must test your work in as many browsers
as possible during and at the end of the
development process to make sure that your
pages will render properly
15
Principles of Web Design Chapter 1
Should You Use an HTML Editor?
• You can create or generate HTML code to
build Web pages in many ways
• Many sites on the Web are coded using
simple text editing tools such as Notepad
• Many different HTML editing programs are
now available
16
Principles of Web Design Chapter 1
Should You Use an HTML Editor?
• As with the browsers, authoring packages
interpret tags based on their own built-in
logic. Therefore, a page that you create in an
editing package may look quite different in
the editing interface than it does in a browser
• You’ll probably end up working with a
combination of tools to create your finished
pages
17
Principles of Web Design Chapter 1
Coding for Multiple Resolutions
• A computer monitor’s screen resolution is
the horizontal and vertical width and height of
the computer screen in pixels
• The three most common screen resolutions
(traditionally expressed as width x height) are
640 x 480, 800 x 600, 1024 x768
• User screen resolution is a factor over which
you have no control
18
Principles of Web Design Chapter 1
Fixed Resolution Design
• As the screen resolution changes, the content
remains aligned to the left side of the page
19
Principles of Web Design Chapter 1
20
Principles of Web Design Chapter 1
21
Principles of Web Design Chapter 1
22
Principles of Web Design Chapter 1
Flexible Resolution Design
• As the screen resolution changes, the content
expands to accommodate the varying screen
width
23
Principles of Web Design Chapter 1
24
Principles of Web Design Chapter 1
25
Principles of Web Design Chapter 1
26
Principles of Web Design Chapter 1
27
Principles of Web Design Chapter 1
Bandwidth Concerns
• It is a myth that most computer users will
soon have fast access to the Web
• Less than 20% of American households have
access to cable modems
• Only 5-10% of all the households have
access to Digital Subscriber Line (DSL)
28
Principles of Web Design Chapter 1
29
Principles of Web Design Chapter 1
Bandwidth Concerns
• If your pages download slowly, your users will
probably click to another site before they see
your content
• Most users will simply not wait longer than 20
seconds for a page to load
• The size and number of graphics on your
Web pages influences the speed at which
your pages display
30
Principles of Web Design Chapter 1
Testing for Download Times
• Test your site at different connection speeds
• Test your site as if you were a user visiting for
the first time. This is when users experience
the longest download times.
• Clear your cache of the files and images that
the browser has stored
31
Principles of Web Design Chapter 1
32
Principles of Web Design Chapter 1
33
Principles of Web Design Chapter 1
Summary
• Decide which version of HTML you’ll use to
code your pages
• Decide whether to use Cascading Style
Sheets
• Choose the suite of browsers you will use to
test your site
• Decide how browser-specific your site will
be. Your goal is to create a site that is widely
accessible to multiple browsers
34
Principles of Web Design Chapter 1
Summary
• Choose the type of editing tool you will use
to create your HTML code
• Resolve to continually test your work as you
build your site
• Test with multiple browsers, at different
screen resolutions, and at different
connection speeds
• If you can, try to view your site on multiple
platforms, such as PC and Macintosh as well

Contenu connexe

Tendances (19)

Webdesigningandpublishingcomputerstudiestheorylesson 101212054612-phpapp02
Webdesigningandpublishingcomputerstudiestheorylesson 101212054612-phpapp02Webdesigningandpublishingcomputerstudiestheorylesson 101212054612-phpapp02
Webdesigningandpublishingcomputerstudiestheorylesson 101212054612-phpapp02
 
Intro to SharePoint 2013 Branding
Intro to SharePoint 2013 BrandingIntro to SharePoint 2013 Branding
Intro to SharePoint 2013 Branding
 
Ddpz2613 topic1 introduction
Ddpz2613 topic1 introductionDdpz2613 topic1 introduction
Ddpz2613 topic1 introduction
 
Basic of web design
Basic of web designBasic of web design
Basic of web design
 
Ppt ch09
Ppt ch09Ppt ch09
Ppt ch09
 
Ch11 slides
Ch11 slidesCh11 slides
Ch11 slides
 
Dhtml
DhtmlDhtml
Dhtml
 
Module 4 - Dreamweaver Templates (Static vs. Dynamic Content)
Module 4 - Dreamweaver Templates (Static vs. Dynamic Content)Module 4 - Dreamweaver Templates (Static vs. Dynamic Content)
Module 4 - Dreamweaver Templates (Static vs. Dynamic Content)
 
EECI2009 - From Design to Dynamic - Rapid ExpressionEngine Development
EECI2009 - From Design to Dynamic - Rapid ExpressionEngine DevelopmentEECI2009 - From Design to Dynamic - Rapid ExpressionEngine Development
EECI2009 - From Design to Dynamic - Rapid ExpressionEngine Development
 
Introduction to HTML5 & CSS3
Introduction to HTML5 & CSS3Introduction to HTML5 & CSS3
Introduction to HTML5 & CSS3
 
Interactive Web Design 5 - Week 2 - Introduction
Interactive Web Design 5 - Week 2 -  IntroductionInteractive Web Design 5 - Week 2 -  Introduction
Interactive Web Design 5 - Week 2 - Introduction
 
Xhtml and html5 basics
Xhtml and html5 basicsXhtml and html5 basics
Xhtml and html5 basics
 
Module 5 - WCM system comparison
Module 5 - WCM system comparison Module 5 - WCM system comparison
Module 5 - WCM system comparison
 
Languages of Internet
Languages of InternetLanguages of Internet
Languages of Internet
 
Web development using ASP.NET MVC
Web development using ASP.NET MVC Web development using ASP.NET MVC
Web development using ASP.NET MVC
 
Unit 2 dhtml
Unit 2 dhtmlUnit 2 dhtml
Unit 2 dhtml
 
Xhtml validation
Xhtml validationXhtml validation
Xhtml validation
 
Dhtml ppt (2)
Dhtml ppt (2)Dhtml ppt (2)
Dhtml ppt (2)
 
Dhtml chapter2
Dhtml chapter2Dhtml chapter2
Dhtml chapter2
 

En vedette

En vedette (13)

Sirt roundtable malicious-emailtrendmicro
Sirt roundtable malicious-emailtrendmicroSirt roundtable malicious-emailtrendmicro
Sirt roundtable malicious-emailtrendmicro
 
Twar05003 win hec05
Twar05003 win hec05Twar05003 win hec05
Twar05003 win hec05
 
Swine flu f inal
Swine flu f inalSwine flu f inal
Swine flu f inal
 
W982 05092004
W982 05092004W982 05092004
W982 05092004
 
Moving to ws2003
Moving to ws2003Moving to ws2003
Moving to ws2003
 
Us bdrv tips2
Us bdrv tips2Us bdrv tips2
Us bdrv tips2
 
9idwh
9idwh9idwh
9idwh
 
Tips tricks052003
Tips tricks052003Tips tricks052003
Tips tricks052003
 
Discoverer online training 10g r2
Discoverer online training 10g r2Discoverer online training 10g r2
Discoverer online training 10g r2
 
Ch03
Ch03Ch03
Ch03
 
Lists
ListsLists
Lists
 
Dna structure
Dna structureDna structure
Dna structure
 
Arc ims tips
Arc ims tipsArc ims tips
Arc ims tips
 

Similaire à Ch1

Similaire à Ch1 (20)

Ppt ch01
Ppt ch01Ppt ch01
Ppt ch01
 
9 10 july2020
9 10 july20209 10 july2020
9 10 july2020
 
9781111528705_PPT_ch013.pptx
9781111528705_PPT_ch013.pptx9781111528705_PPT_ch013.pptx
9781111528705_PPT_ch013.pptx
 
9781111528705_PPT_ch01.pptx
9781111528705_PPT_ch01.pptx9781111528705_PPT_ch01.pptx
9781111528705_PPT_ch01.pptx
 
9781111528705_PPT_ch014.pptx
9781111528705_PPT_ch014.pptx9781111528705_PPT_ch014.pptx
9781111528705_PPT_ch014.pptx
 
9781111528705_PPT_ch012.pptx
9781111528705_PPT_ch012.pptx9781111528705_PPT_ch012.pptx
9781111528705_PPT_ch012.pptx
 
Fundamentals of Web
Fundamentals of WebFundamentals of Web
Fundamentals of Web
 
chapter01-160621234231.pptx
chapter01-160621234231.pptxchapter01-160621234231.pptx
chapter01-160621234231.pptx
 
HTML
HTML HTML
HTML
 
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
 
Font-End Development Tools
Font-End Development ToolsFont-End Development Tools
Font-End Development Tools
 
Module 5 and 6
Module 5 and 6Module 5 and 6
Module 5 and 6
 
Module 3
Module 3Module 3
Module 3
 
HTML Start Up - Introduction to HTML
HTML Start Up - Introduction to HTMLHTML Start Up - Introduction to HTML
HTML Start Up - Introduction to HTML
 
IS100 Week 12
IS100 Week 12IS100 Week 12
IS100 Week 12
 
Rich Internet Applications and Flex - 1
Rich Internet Applications and Flex - 1Rich Internet Applications and Flex - 1
Rich Internet Applications and Flex - 1
 
HTML Demo.ppt
HTML Demo.pptHTML Demo.ppt
HTML Demo.ppt
 
Unit 01 (1).pdf
Unit 01 (1).pdfUnit 01 (1).pdf
Unit 01 (1).pdf
 
Multimedia- How Internet Works
Multimedia- How Internet WorksMultimedia- How Internet Works
Multimedia- How Internet Works
 
Introduction to web page
Introduction to web pageIntroduction to web page
Introduction to web page
 

Dernier

Using Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea DevelopmentUsing Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea Developmentchesterberbo7
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
 
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnvESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnvRicaMaeCastro1
 
Mythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWMythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWQuiz Club NITW
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptxmary850239
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfVanessa Camilleri
 
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxGrade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxkarenfajardo43
 
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...Nguyen Thanh Tu Collection
 
Measures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped dataMeasures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped dataBabyAnnMotar
 
Multi Domain Alias In the Odoo 17 ERP Module
Multi Domain Alias In the Odoo 17 ERP ModuleMulti Domain Alias In the Odoo 17 ERP Module
Multi Domain Alias In the Odoo 17 ERP ModuleCeline George
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4JOYLYNSAMANIEGO
 
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptxMan or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptxDhatriParmar
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
MS4 level being good citizen -imperative- (1) (1).pdf
MS4 level   being good citizen -imperative- (1) (1).pdfMS4 level   being good citizen -imperative- (1) (1).pdf
MS4 level being good citizen -imperative- (1) (1).pdfMr Bounab Samir
 
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxBIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxSayali Powar
 
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...DhatriParmar
 
4.11.24 Mass Incarceration and the New Jim Crow.pptx
4.11.24 Mass Incarceration and the New Jim Crow.pptx4.11.24 Mass Incarceration and the New Jim Crow.pptx
4.11.24 Mass Incarceration and the New Jim Crow.pptxmary850239
 

Dernier (20)

Using Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea DevelopmentUsing Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea Development
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
 
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnvESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
 
Mythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWMythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITW
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdf
 
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxGrade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
 
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
 
Measures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped dataMeasures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped data
 
Multi Domain Alias In the Odoo 17 ERP Module
Multi Domain Alias In the Odoo 17 ERP ModuleMulti Domain Alias In the Odoo 17 ERP Module
Multi Domain Alias In the Odoo 17 ERP Module
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4
 
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptxMan or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
Paradigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTAParadigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTA
 
MS4 level being good citizen -imperative- (1) (1).pdf
MS4 level   being good citizen -imperative- (1) (1).pdfMS4 level   being good citizen -imperative- (1) (1).pdf
MS4 level being good citizen -imperative- (1) (1).pdf
 
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxBIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
 
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
 
4.11.24 Mass Incarceration and the New Jim Crow.pptx
4.11.24 Mass Incarceration and the New Jim Crow.pptx4.11.24 Mass Incarceration and the New Jim Crow.pptx
4.11.24 Mass Incarceration and the New Jim Crow.pptx
 

Ch1

  • 1. Chapter 1 Variables in the Web Design Environment
  • 2. 2 Principles of Web Design Chapter 1 Objectives • Describe the current state and design limitations of HTML • Learn how XML and XHTML could transform the Web • Describe how Web browsers affect the way users view your site • Decide if you should use an HTML editor to create markup code
  • 3. 3 Principles of Web Design Chapter 1 Objectives • Describe how screen resolution and connection speed affect the user’s browsing experience • Clear the cache when testing your site
  • 4. 4 Principles of Web Design Chapter 1 HTML: Then and Now • HTML is an application of the Standard Generalized Markup Language • Intended to represent simple document structure • Uses hypertext to link related topics • Designed for use over the internet • The document expression capabilities of HTML are currently pushed to the limit
  • 5. 5 Principles of Web Design Chapter 1 HTML as a Markup Language • A markup language is a structured language that lets you identify common sections of a document such as headings, paragraphs, and lists. • An HTML file includes text and HTML markup elements • The browser interprets the HTML markup elements and displays the results, hiding the actual markup tags from the user
  • 6. 6 Principles of Web Design Chapter 1 HTML as a Markup Language • HTML is an open, non-proprietary, cross- platform compatible language • HTML is not a What You See Is What You Get (WYSIWYG) layout tool. • HTML was intended only to express logical document structure, not display characteristics
  • 7. 7 Principles of Web Design Chapter 1 Deprecated Elements • Deprecated elements are elements that the W3C has identified as obsolete. They will not be included in future releases of HTML • Some examples of these elements are <FONT> and <CENTER>
  • 8. 8 Principles of Web Design Chapter 1 Understanding XML • XML is the Extensible Markup Language • XML is a meta-language; not a language itself, but a language that let’s you describe other languages • XML Describes Data, not Presentation • XML Allows Better Access to Data • XML Lends Itself to Customized Information
  • 9. 9 Principles of Web Design Chapter 1 XHTML: The Future of HTML • XHTML is the Extensible Hypertext Markup Language • HTML as an Application of XML • Improved Data Handling • Style Sheets are Required
  • 10. 10 Principles of Web Design Chapter 1 How Browsers Affect Your Work • One of the greatest challenges facing HTML authors is designing pages that display properly in multiple browsers • Every browser contains a program called a parser that interprets the markup tags in an HTML file and displays the results in the canvas area of the browser interface
  • 11. 11 Principles of Web Design Chapter 1
  • 12. 12 Principles of Web Design Chapter 1 How Browsers Affect Your Work • The logic for interpreting the HTML tags is different in every browser, resulting in varying interpretations of the way the HTML file is displayed • Although it’s a good idea to test with the latest browsers, it’s also prudent to test your work in older browsers as well
  • 13. 13 Principles of Web Design Chapter 1 How Browsers Affect Your Work • Lowest common denominator coding - use an older version of HTML to ensure portability • Cutting-edge coding - push the medium forward by coding to the latest standard and using the latest enhancements • Browser-specific coding - specify a particular brand and version of browser to access the site
  • 14. 14 Principles of Web Design Chapter 1 Solving the Browser Dilemma • You must test your work in as many browsers as possible during and at the end of the development process to make sure that your pages will render properly
  • 15. 15 Principles of Web Design Chapter 1 Should You Use an HTML Editor? • You can create or generate HTML code to build Web pages in many ways • Many sites on the Web are coded using simple text editing tools such as Notepad • Many different HTML editing programs are now available
  • 16. 16 Principles of Web Design Chapter 1 Should You Use an HTML Editor? • As with the browsers, authoring packages interpret tags based on their own built-in logic. Therefore, a page that you create in an editing package may look quite different in the editing interface than it does in a browser • You’ll probably end up working with a combination of tools to create your finished pages
  • 17. 17 Principles of Web Design Chapter 1 Coding for Multiple Resolutions • A computer monitor’s screen resolution is the horizontal and vertical width and height of the computer screen in pixels • The three most common screen resolutions (traditionally expressed as width x height) are 640 x 480, 800 x 600, 1024 x768 • User screen resolution is a factor over which you have no control
  • 18. 18 Principles of Web Design Chapter 1 Fixed Resolution Design • As the screen resolution changes, the content remains aligned to the left side of the page
  • 19. 19 Principles of Web Design Chapter 1
  • 20. 20 Principles of Web Design Chapter 1
  • 21. 21 Principles of Web Design Chapter 1
  • 22. 22 Principles of Web Design Chapter 1 Flexible Resolution Design • As the screen resolution changes, the content expands to accommodate the varying screen width
  • 23. 23 Principles of Web Design Chapter 1
  • 24. 24 Principles of Web Design Chapter 1
  • 25. 25 Principles of Web Design Chapter 1
  • 26. 26 Principles of Web Design Chapter 1
  • 27. 27 Principles of Web Design Chapter 1 Bandwidth Concerns • It is a myth that most computer users will soon have fast access to the Web • Less than 20% of American households have access to cable modems • Only 5-10% of all the households have access to Digital Subscriber Line (DSL)
  • 28. 28 Principles of Web Design Chapter 1
  • 29. 29 Principles of Web Design Chapter 1 Bandwidth Concerns • If your pages download slowly, your users will probably click to another site before they see your content • Most users will simply not wait longer than 20 seconds for a page to load • The size and number of graphics on your Web pages influences the speed at which your pages display
  • 30. 30 Principles of Web Design Chapter 1 Testing for Download Times • Test your site at different connection speeds • Test your site as if you were a user visiting for the first time. This is when users experience the longest download times. • Clear your cache of the files and images that the browser has stored
  • 31. 31 Principles of Web Design Chapter 1
  • 32. 32 Principles of Web Design Chapter 1
  • 33. 33 Principles of Web Design Chapter 1 Summary • Decide which version of HTML you’ll use to code your pages • Decide whether to use Cascading Style Sheets • Choose the suite of browsers you will use to test your site • Decide how browser-specific your site will be. Your goal is to create a site that is widely accessible to multiple browsers
  • 34. 34 Principles of Web Design Chapter 1 Summary • Choose the type of editing tool you will use to create your HTML code • Resolve to continually test your work as you build your site • Test with multiple browsers, at different screen resolutions, and at different connection speeds • If you can, try to view your site on multiple platforms, such as PC and Macintosh as well