Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
LESSON 1
INTRODUCTION TO WEB DESIGN AND DEVELOPMENT
Wile using the internet, you have encountetred various attractive and useful web
sites. However,merely using the internet will not give you an idea of how these
sites are created. In this course, you will examine the basics of web technology
and create your own web pages such as Hypertext Markup Language (HTML),Extensib
le Hypertext Markup Language (XHTML) and Cascading STyle Sheets (CSS)
I dont want to make this boring so I will be as brief as possibe.
Course Requirements
Intel Pentium 4 or higher (Compatible processor)
256MB of RAM (512 MB Recommended)
2GB available hard disk space
CD-ROM drive (optional)
Intenet Connection
Microsoft Internet EXplorer 7.0 and above
Moxilla Firefox 2.0 and above
Notepad++ 4.6 and above
SETUP
1. Install Internet explorer 7 or Morxilla Firefox 2.0 and above
a. Internet EXplorer can be downloaded at http://www.microsoft.com/windows/downl
oads/ie/getitnow.mspx?wt_svl+20510a&mg_id+20510b
b. Mozilla Firefox can be downloaded at http://www.mozilla.com/en-US/firefox/
2. INstall Notepad++ 4.6 or you can improvise with the one already on your syste
m.
World Wide Web (WWW)
(WWW) or simply "the Web" is a part of the internet that stores a l;arge quantit
ty of hypertext multimeduia documents called web pages. Web pages can be accesed
using a web browser.
Hypertext Markup Language (HTML)
HTML can be used to create web pages consisting of text, graphics and links as w
ell as dynamic web pages with animated content. Style Languages such as CSS were
developed to deal with the presentation aspect.
Extensible Hypertext Markup Language (XHTML)
Since most browsers are lenient in rendering HTML, XHTML allows you to create do
cuments following syntax rules. THe leniency may result in incosistent display o
f content.
ELEMENTS
In HTML and XHTML, elements are sets of instructions that describe the structure
and content of a web page. These instructions are applied through the use of ta
gs. Elemts can be either empty or Container elements.
Container Element <h3> Our Web <h3/>
Empty Element <br/>
TAGS
Tags are indicators used to identify the type of a particular content. e.g. encl
osing text between <h1> </h1> tahs indicate the text written inside is a heading
,
<h1> The whole world </h1>
ATTRIBUTES
An attribute is a part of an XHTML element that modifies the characteristics of
that element. ATtributes are included in the opening tag of a container element
and use a name="value" syntax. Most elements have a defined set of attributes th
at you can modify to suit your needs.
name="value"
Excercises
Which of the following XHTML elements are empty elements?
a) <p> Text </p>
b) <br/>
c) <title> Tiltle </title>
d) <h6> Heading </h6>
e) <hr/>
Answers: b, e
WHich markup Language is used to define syntax of a markup language?
a) HTML
b) SGML
c) XHTML
d) MathML
Answer: c
Watch out for Lesson 2, PLease Post your comments below!
LESSON 2
CREATING A BASIC PAGE STRUCTURE
If you followed the first Lesson, you should have been familiar with some of the
se terms. I will advice that you get a jotter to note somethings down
THE GLOBAL STRUCTURE
The Global Structure is the overall structure of an XHTML document which consist
s of the elements required to display a web page.
Element Descript
ion
Element
Description
DTD
The DTD is used to determine the elements and attributes allowed in an XHTML doc
ument
<head></head>
The head section that contais information such as title of the web page, charact
er set and style sheet.
<title></title>
The title of the web page
<body></body>
Body Section that consists of the elemnts to be displayed on the web page.
<p></p>
A paragraph containing some text to be diplayed
</html>
Namespace
The name space declaration informs the browser about the language used.
Rule Example
1. Doctype is required <! DOCTYPE html
PUBLIC "-//W3c//
DTD XHTML 1.0 Strict//EN"
"http://www.w3.o
rg/TR/xhtml1/DTD/xhtml1-strict.dtd">
2. All tags and attributes must be written in <p>This is a par
agraph</p>
lower case
3.All elements must be properly enclosed <head> Title of
Web Page</head>
2. Enter the head section of your webpage a. Press Enter and type
<head>
b. Press Enter and type
<meta http-equiv+"content-type" content+"text\html; charset=utf-8"
and press Enter
c. type
<title>My First Webpage
</title> to enter the title of your Web Page and Press Enter
d. Press Enter and type
</head> to close the head section
3. Enter the body section of your web page a. Press Enter and type
<body>
b. Press Enter and type
</body> NB: you can type anything you want inbetween the the opened
and closed body tag. To
start a new line, you can use paragraph element <p> and close it </p>
c.Press Enter and type <
/html> to end the document.
That will be all for these lesson, If you encounter any problem, comment below a
nd you will be replied shortly.
Watch out for Lesson3- Structuring Content.Please share for others to benefit.