Updated Introduction To Web Design
Updated Introduction To Web Design
Part 1
w. Mike Tyler
Objective Of Study
7
Components of Web Design Packages
8
6. Interactive buttons: Give users a new way to create web
graphics for navigation and eliminating the need for a
complicated image-editing package such as Adobe photoshop.
7. Dynamic Web Template(DWT): Allow users to create a
single template that could be used across multiple pages and
even the whole website.
8. Code snippets: Give users the advantage to create snippets
of their commonly used pieces of code allowing them to store
it for easy access when next it is needed.
9. Accessibility checker: Which gives the users the ability to
check if their codes are standard- compliant and their
websites is easily accessible for people with disabilities
10
Free Websites that enables you to
create your own Website.
1.www.Wix.com
2.www.Weebly. Com
Markup Languages
HTML, DHTML, XML, XSLT, etc....
Cascading Style Sheets (CSS)
Scripting languages
perl,javascript,php, etc....
Web creation and editing software
Notepad, FrontPage, Coldfusion, Flash,
Hotmetal, Site Builder, etc..
Copyright 2005 - The Small Business Depot 25
Markup Languages - HTML
Header
Body
< / HTML>
Copyright 2005 - The Small Business Depot 29
HTML – Fundamentals
Basic Structure
<html>
<head>
<title> The title of your html page </title>
<meta_tags/>
</head>
<body>
</body>
</html>
Hello world
</body>
Mike Tyler
PO Box 190387
Hungry Horse, Mt 59919
</body>
Copyright 2005 - The Small Business Depot 32
HTML - Fundamentals
header
<body>
<b>Mike Tyler</b><br>
PO Box 190387<br>
Hungry Horse, Mt 59919<br>
</body>
Copyright 2005 - The Small Business Depot 33
HTML - Fundamentals
header
<body>
</body>
</body>
</body>
Attributes
NAME = “text”
TITLE = "text"
TARGET = “frame_name|window_name”
opens mywebpage.html
in the window / frame
named “window2”
window2
Copyright 2005 - The Small Business Depot 40
HTML – Fundamentals
Hyperlink Colors
Red Blue
Green
BORDER=value
ALIGN=left|right|center
CELLSPACING=value
CELLPADDING=value
WIDTH=value|percent
Student Grade
Tom B-
Sue A+
Class Grades
Student Grades
Student Grade
Tom
A
Sue
1024 x 768
800 x 600
640 x 480
Tables are frequently used to layout the basic web page design .
1280
640
Copyright 2005 - The Small Business Depot 56
HTML – Fundamentals
Frames
Basic Frames
Floating Frames (inline frames)
Picture in picture
Banner
Menu Content
Footer
Basic tags
<frameset> ..</frameset>
<frame />
<noframes> .. </noframes>
Basic attributes
cols = “values”
rows = “values”
name = “frame_name”
src = “frame_source(url)”
target = “frame_name”
Copyright 2005 - The Small Business Depot 59
HTML – Fundamentals
Basic Frames
Banner
Menu Content
Footer
<frameset rows=“80,*,80”>
<frame src=“banner.html” />
<frameset cols = “25%,75%” >
<frame src=“menu.html” />
<frame src=“content.html” />
</frameset>
<frame src=“footer.html” />
</frameset>
Copyright 2005 - The Small Business Depot 61
HTML – Fundamentals
Basic Frames
<frameset rows=“80,*,80”>
<frame src=“banner.html” />
<frameset cols = “25%,75%” >
<frame src=“menu.html” />
<frame src=“content.html” />
</frameset>
<frame src=“footer.html” />
<noframes>
<body>
Welcome to my page.
<A HREF="noframes.htm">Continue</A>
to the frame-free version.
</body>
</noframes>
</frameset>
Copyright 2005 - The Small Business Depot 62
HTML – Fundamentals
Basic Frames
FRAMESET attributes
FRAMEBORDER="yes|no"|0
BORDER=pixels
BORDERCOLOR="#hexcolor|colorname"
SCROLLING="yes|no|auto"
NORESIZE
MARGINWIDTH=pixels
MARGINHEIGHT="pixels"
BORDERCOLOR="color"
FRAMESPACING="pixels"
FRAMEBORDER="yes|no"|0
NAME=“frame_name”
Copyright 2005 - The Small Business Depot 64
HTML – Fundamentals
Floating Frames
<IFRAME
NAME=“frame_name”
ALIGN="right"
HSPACE=“40”
VSPACE=“40”
WIDTH="75%"
HEIGHT=“150”
FRAMEBORDER=0
SRC=http://www.mysite/mypage.htm >
</IFRAME>
Copyright 2005 - The Small Business Depot 67
HTML – Fundamentals
Hypertext links
Content
positioned
within this
block
attributes
ID=“name”
STYLE = “style parameters re: CSS”
content
content
contentc
content content
content
content
element.class {property:value; }
<head>
<title> My Page Title </title>
mystyles.css
<head>
<LINK REL="stylesheet" HREF="mystyles.css“
TYPE="text/css">
</head>
Copyright 2005 - The Small Business Depot 78
HTML – Fundamentals
CASCADING STYLE SHEETS (CSS)
/* Example style sheet file (note how this comment was created) */
Using IDs
IDs enable you to define a unique style which you can apply to a number of
elements.
<STYLE>
<!–
#copyright {font-style:italic; font-size:smaller; }
-->
</STYLE>