introduction to web design

49
Introduction to Web Design

Upload: stephen-pollard

Post on 14-May-2015

1.342 views

Category:

Education


3 download

DESCRIPTION

Brief introduction to web design

TRANSCRIPT

Page 1: Introduction to web design

Introduction to Web Design

Page 2: Introduction to web design

2

Web Components

Clients and ServersInternet Service ProvidersWeb Site Hosting ServicesDomains Names, URL’s and IpsRegistrars

Page 3: Introduction to web design

3

Clients & Servers

Clients (Browser)Internet ExplorerFirefoxMozillaNetscapeOperaAmayaAOLChrome

ServersApacheMicrosoft IISNetscapezeusAOLserverAVJavaWebServerOracle

Page 4: Introduction to web design

4

Web Components

Clients and ServersInternet Service ProvidersWeb Site Hosting ServicesDomains Names, URL’s and IpsRegistrars

Page 5: Introduction to web design

5

Internet Service Providers Connect Clients to the Internet

BTAOLVirginPlusNet

Dial-UpDSL/Cable

Page 6: Introduction to web design

6

Web Components

Clients and ServersInternet Service ProvidersWebsite Hosting ServicesDomains Names, URL’s and IpsRegistrars

Page 7: Introduction to web design

7

Web Hosting Services Connects Web Sites to the Internet

Computer (server) farmWeb server software (Apache, IIS etc.)Firewall hardware and softwareIT services

(Backup, troubleshooting, hardware repair)

Disk spaceBandwidth / connection to internetRouters and switchersEmail server / storage

Page 8: Introduction to web design

8

Web Components

Clients and ServersInternet Service ProvidersWeb Site Hosting ServicesDomains Names, URL’s and IpsRegistrars

Page 9: Introduction to web design

9

Domain’s URL’s and IPs

Domain name: The specific address of a computer on the Internet microsoft.com

Uniform Resource Locator (URL): http://www.microsoft.com/faqs.html

Internet protocol (IP) address192.168.1.1

Page 10: Introduction to web design

10

Web Components

Clients and ServersInternet Service ProvidersWeb Site Hosting ServicesDomains Names, URL’s and IpsRegistrars

Page 11: Introduction to web design

11

Domain Registrar

A company that provides domain name registration services for a fee.

Maintain database which maps domain names to IP addresses

Propagate new domain name/IP address information across the internet

Page 12: Introduction to web design

12

Creating a Web Site

1. Choose a domain name

2. Register with a Registrar

3. Choose a hosting service

4. Tell Registrar the IP address

5. Create web content

6. Store (publish) onto hosting server (FTP)

7. Submit new site to search engines

Page 13: Introduction to web design

13

12 Principles of good web design

1. Visitor-centric, clear purpose2. Progressive disclosure (not overwhelming)3. Displays quickly4. Browser compatible5. Intuitive navigation6. Spelling, grammar, writing7. Secure (eCommerce)8. Attractive design, easy to read9. Cultural bias? (Regional? Domestic? International?)10.No technical problems (broken links, buggy scripts)11.Maintainable (separate content from style)12.Search Engine Accessible

Page 14: Introduction to web design

14

Creating your Web SiteTechnologies & Tools

Markup Languages HTML, DHTML, XML, XSLT, etc....

Cascading Style Sheets (CSS)Scripting languages

perl,javascript,php, etc....

Web creation and editing softwareNotepad, FrontPage, Coldfusion,

Dreamweaver, Flash, Hotmetal, Site Builder, etc..

Page 15: Introduction to web design

15

Markup Languages - HTML

Derived from SGML

(Standard Generalized Markup Language )

HyperText Markup Language

Page 16: Introduction to web design

16

HTML Fundamentals

Clear text, case insensitiveIgnores white spaceComprised of tags <tag />Open tags and closed tags

Page 17: Introduction to web design

17

HTML - Fundamentals

Open (self-closing) tags<name attributes/><hr/>, <br/><img src=“url” width=‘100px’ height=’60px’/>

Closed tags<name attributes> stuff </name><b>text to be bolded</b><h1>level 1 heading text</h1>

Comments < ! - - comment text -- >

Page 18: Introduction to web design

18

HTML – FundamentalsDocument Structure

Header

Body

< / HTML>

< HTML >

Page 19: Introduction to web design

19

HTML – FundamentalsBasic Structure

<html><head>

<title> The title of your html page </title><meta_tags/>

</head><body>

<! - - your web page content and markup - ->

</body></html>

Page 20: Introduction to web design

20

HTML - Fundamentals

header

<body>

Hello world

</body>

Page 21: Introduction to web design

21

HTML - Fundamentals

header

<body>

Alexandra Park SchoolLondonN11 2AZ

</body>

Alexandrapark School London N11 2AZ

Page 22: Introduction to web design

22

HTML - Fundamentals

header

<body>

<b>Alexandra Park School</b><br>London<br>N11 2AZ<br>

</body>

Page 23: Introduction to web design

23

HTML - Fundamentalsheader

<body>

<font face=“Arial,Times,Courier” color=“green” size=“3”><b>Alexandra Park School</b><br>London<br>N11 2AZ<br></font>

</body>

Page 24: Introduction to web design

24

HTML - Fundamentalsheader

<body><p align=‘center’><font face=“Arial,Lucida Sans” color=“green” size=“3”>

<b>Alexandra Park School</b><br>London<br>N11 2AZ<br></font></p>

</body>

Page 25: Introduction to web design

25

HTML - Fundamentalsheader

<body><p align=‘center’><font face=“Arial,Lucida Sans” color=“green” size=“3”><b>Alexandra Park School</b><br>London<br>N11 2AZ<br></font></p><img src=‘http://www.myserver.com/images/aps.jpg’/>

</body>

Page 26: Introduction to web design

26

HTML - Fundamentalsheader<body>

<p align=‘center’>

<font face=‘Arial,Lucida Sans’ color=‘green’ size=3><b>Alexandra Park School</b><br>London<br>N11 2AZ<br></font></p><img src=‘http://www.domain.com/images/aps.jpg’>

<a href=‘about.html’>Read about APS</a></body>

Page 27: Introduction to web design

27

HTML - Fundamentals

Page 28: Introduction to web design

28

HTML - Fundamentals

ANCHORS (Hypertext Link)

<A href=“url” attributes>Displayed text </A>

AttributesNAME = “text” TITLE = "text" TARGET = “frame_name|window_name”

Page 29: Introduction to web design

29

HTML – FundamentalsHypertext links

Click this link

opens mywebpage.html in the window / frame named “window2”

<a href=“mywebpage.html” target=“window2” >Click this link </a>

window2

Page 30: Introduction to web design

30

HTML – FundamentalsHyperlink Colours

<BODY LINK=colour, VLINK=colour, ALINK=colour >

<BODY LINK=“blue”, VLINK=“purple”, ALINK=“red” >

<BODY LINK=“#0000FF”, VLINK=“#FF00FF”, ALINK=“#FF0000” >

LINK – Colour of link before it’s been followed

ALINK – Colour of link while it’s being followed (Active LINK)

VLINK – Colour of link after it’s been followed (Visited LINK)

Page 31: Introduction to web design

31

HTML – FundamentalsColours

colour = “red” (Browser compatibility issues)

colour = “#FF0000”

values vary from 00 to FF (hexadecimal)

0,1,2,3,4,5,6,7,8,9,a,b,c,d,e,f

Red

Green

Blue

#FF FF FF

Page 32: Introduction to web design

32

HTML – FundamentalsHeadings

Renders text as a heading, the rendering depending on the level of heading selected. Headings should be automatically spaced from the body text.

<h1>Heading 1 level text</h1><h2>Heading 2 level text</h2><h3>Heading 3 level text</h3><h4>Heading 4 level text</h4><h5>Heading 5 level text</h5><h6>Heading 6 level text</h6>

Page 33: Introduction to web design

33

HTML – FundamentalsLists

Unordered list

<ul>

<li>apples</li>

<li>bananas</li>

<li>grapes</li>

<li>strawberries</li>

</ul>

Ordered list

<ol type=‘i’ start=‘2’>

<li>apples</li>

<li>bananas</li>

<li>grapes</li>

<li>strawberries</li>

</ol>

Page 34: Introduction to web design

34

HTML – FundamentalsLists

Unordered list

applesbananasgrapesstrawberries

Ordered list

II. apples

III. bananas

IV. grapes

V. strawberries

Page 35: Introduction to web design

35

HTML – FundamentalsTables

<TABLE><CAPTION ALIGN="bottom">Class Grades</CAPTION><TR>

<TH>Student</TH><TH>Grade</TH>

</TR><TR>

<TD>Tom</TD><TD>B+</TD>

</TR><TR>

<TD>Sue</TD><TD>A-</TD>

</TR>

</TABLE>

TR = Table RowTH = Table HeaderTD = Table Data Cell

Page 36: Introduction to web design

36

HTML – FundamentalsTables

Page 37: Introduction to web design

37

HTML – FundamentalsTables - Attributes

BORDER=value

ALIGN=left|right|center

CELLSPACING=value

CELLPADDING=value

WIDTH=value|percent

Page 38: Introduction to web design

38

HTML – FundamentalsTables

<TABLE BORDER=1 WIDTH=“50%" CELLPADDING=“6” CELLSPACING=“2” ALIGN="RIGHT"><CAPTION ALIGN="bottom">Class Grades</CAPTION><TR>

<TH>Student</TH><TH>Grade</TH>

</TR><TR>

<TD>Tom</TD><TD>B+</TD>

</TR><TR>

<TD>Sue</TD><TD>A-</TD>

</TR></TABLE>

Page 39: Introduction to web design

39

HTML – FundamentalsTables

Student Grade

Tom B-

Sue A+

Class Grades

Page 40: Introduction to web design

40

HTML – FundamentalsTables

rowspan and colspan

Page 41: Introduction to web design

41

HTML – Fundamentals<TABLE BORDER=1 WIDTH="50%" CELLPADDING=5 ALIGN="center">

<TR><TD colspan=2 align='center'>

<font color="red"><b>Student Grades</b></font></TD>

</TR><TR>

<TD><b>Student</b></TD><TD><b>Grade</b></TD>

</TR><TR>

<TD>Tom</TD><TD rowspan=2>A</TD>

</TR><TR>

<TD>Sue</TD></TR>

</TABLE>

Page 42: Introduction to web design

42

HTML – Fundamentals

Student Grades

Student Grade

TomA

Sue

Page 43: Introduction to web design

43

Screen Compatibility

1280 x 1024

1024 x 768

800 x 600

640 x 480

Page 44: Introduction to web design

44

HTML – FundamentalsTables

Tables are frequently used to layout the basic web page design.

640

1280

Page 45: Introduction to web design

45

HTML – FundamentalsImages

<img src=“images/pic1.jpg” width=75px, height=50px />

Page 46: Introduction to web design

46

HTML – FundamentalsUsing Images

Images take longer to download than textThe larger the image, the slower the pageOptimize imagesUse thumbnail images

Page 47: Introduction to web design

47

HTML – FundamentalsOther uses of Images

Page background (not recommended)<body background-image = “url” ><body class=“background”>

• body.background { background-image:$url; }

Table background<table background-image=“url”><table class=“background”>

• table.background { backlground-image:url; }

Page 48: Introduction to web design

Content Management Systems

JoomlaWordpressDrupalPHPNukePHP-Fusion

Copyright 2005 - The Small Business Depot 48

Page 49: Introduction to web design

49

Resourceshttp://www.w3schools.com/

HTML Tutorials Learn HTMLLearn XHTMLLearn CSSLearn TCP/IP

Browser Scripting Learn JavaScriptLearn DHTMLLearn VBScriptLearn HTML DOMLearn WMLScript

Server Scripting Learn SQLLearn ASPLearn ADOLearn PHP

XML Tutorials Learn XMLLearn XSLLearn XSLTLearn XSL-FOLearn XPathLearn XQueryLearn XLinkLearn XPointerLearn DTDLearn SchemaLearn XML DOMLearn XFormsLearn SOAPLearn WSDLLearn RDFLearn RSSLearn WAP

.NET (dotnet) .NET Microsoft.NET ASP.NET Mobile

Multimedia Learn MediaLearn SMILLearn SVGLearn Flash

Web Building Web BuildingWeb W3CWeb BrowsersWeb QualityWeb SemanticWeb CareersWeb HostingWeb Certification