Académique Documents
Professionnel Documents
Culture Documents
ADVANCED CSS
HOW TO DESIGN WEB PAGES EFFECTIVELY USING CSS
Box model
Content
Text & web page
elements in the
container
Padding
Area between the
content and the border
Border
Between the padding
and the margin
Margin
Determines the empty
space between the
element and adjacent
elements
h1 { margin: 0; }
h1 { margin: 20px 10px; }
h1 { margin: 10px 30px 20px; }
h1 { margin: 20px 30px 0 30px; }
h1 { padding: 0; }
h1 { padding : 20px 10px; }
h1 { padding : 10px 30px 20px; }
h1 { padding : 20px 30px 0 30px; }
Configuring Specific
Sides of a Border
Use CSS to configure a line on one or more sides
of an element
border-bottom
border-left
border-right
border-top
Font
Connect both of the external style sheets to the web page using two
<link> elements.
<link rel="stylesheet" href=lighthouse.css" media="screen">
<link rel="stylesheet" href=lighthouseprint.css" media="print">
17
Dont expect your pages to look exactly the same in all browsers!
Be patient!
21
type=email
name
id
size
maxlength
value
placeholder
required
23
Common Attributes:
type=email
name
id
size
maxlength
value
placeholder
required
24
Common Attributes:
type=url
name
id
size
maxlength
value
placeholder
required
25
Common Attributes:
type=tel
name
id
size
maxlength
value
placeholder
required
26
type=search
name
id
size
maxlength
value
placeholder
required
27
29
30
31
Advanced HTML 5
Working with multimedia
<embed type="application/x-shockwave-flash"
src="fall5.swf"
width="640"
height="100"
quality="high
title="Fall Nature Hikes">
33
<audio controls="controls">
<source src="soundloop.mp3" type="audio/mpeg">
<source src="soundloop.ogg" type="audio/ogg">
<a href="soundloop.mp3">Download the Audio File</a>
(MP3)
</audio>
34
iframe
Use the iframe element
to embed YouTube Video
36
37
Web Publishing
Basics
38
Learning Outcomes
Describe criteria to consider when selecting a web host
Obtain a domain name for your website
Publish a website using FTP
Design web pages that are friendly to search engines
Submit a website for inclusion in a search engine
Determine if a website meets accessibility requirements
Evaluate the usability of a website
39
Domain Names
Establishes a Web presence for your business/
organization
New Business
choose domain name while selecting company name
Established Business
choose a domain name that relates to your established business
presence
Web Hosting
Some organizations administer a web server in-house
and host their own web site.
Most companies use a web host provider.
A good web hosting service will provide a robust, reliable
home for your web site.
A poor web hosting service will be the source of problems
and complaints.
Do not use free web hosting for a commercial web site.
43
The web host provider's server is divided into a number of virtual domains
and multiple websites are set up on the same computer.
44
Scripting Support
Database Support
Bandwidth
E-Commerce Packages
Technical Support
Scalability
Service Agreement
Backups
Disk Space
Site Statistics
Domain Name
Uploading Files
Price
Canned Scripts
45
Filezilla
SmartFTP
CuteFTP
WS_FTP
46
Source: http://blog.nielsen.com/nielsenwire/online_mobile/top-u-s-search-sites-for-june-2010
title,
description meta tag
text in headings
other text on the page
hyperlinks
48
49
Search Engine
Search Form
The part you are most familiar with!
The search form is the graphical user interface that allows a user to
request a word or phrase to search for.
The visitor to the search engine types words (called keywords)
related to their search into the text box.
When the form is submitted, the data typed into the text box is sent
to server-side processing that searches the database using the
keywords you have entered.
The search results (also called a result set) is a list that contains
information such as the URLs for web pages that meet your criteria.
50
The order the web page items are displayed in the SERP may
depend on:
paid advertisements
alphabetical order
link popularity
Each search engine has their own policy for ordering the search
results.
51
52
53
Heading tags
Include keywords
Page Layout
Avoid nested tables
Use CSS for page layout
Content of Value
Follow Web Design Best Practices
Well-organized
Meaningful & useful to your target audience
Link Popularity
A rating determined by a search engine based on:
the number of sites that link to a particular website
the quality of the sites that the links are from
58
Accessibility Testing
Universal Design & Accessibility
Web Accessibility Standards
Section 508
WCAG 2.0
59
Usability Testing
Usability
the measure of the quality of a user's experience when
interacting with a website
Usability Testing
Testing how actual web page visitors use a website
Can be done at almost any stage of development
Early use paper and sketches of pages
Design use prototype
Production & Testing use actual pages
60