Date post: | 05-Feb-2015 |
Category: |
Education |
Upload: | teresa-pelkie |
View: | 782 times |
Download: | 1 times |
XP
1
CSWB 110 HTML / XHTML
Tutorial 1.1 and 1.2 up to lists
XP
2
History of the Internet
• 1969 Advanced Research Projects Agency Network (ARPANET) Begins
• 1989-90 the World Wide Web (WWW) Begins
• 1993 Mosaic is Released
• 1994 Netscape is Released
• 1995 Internet Explorer is Released
XP
3
Development of the Word Wide Web
Timothy Berners-Lee at the CERN nuclear research facility near Geneva, Switzerland, in 1989.
He developed a system of interconnected hypertext documents that allowed their users to easily navigate from one topic to another
HTML - language of the Web HTTP – protocol to send and receive Web pages
XP
4
HyperText Documents
An entire collection of linked documents is referred to as a Web site.
The hypertext documents within a Web site are known as Web pages.
A Web page can contain text, graphics, audio, video.
These are separate files that also reside with the html file
XP
5
Web Servers and Web Browsers
A Web page is stored on a Web server
The browser or client displays the Web page
The Web page is written in the HTML language
They communicate with the HTTP protocol
XP
6
Search.htm
XP
7
search.htmimage.jpg
www.palomar.edu/search.htm
XP
8
How is the home page loaded?
XP
9
searches for default file
www.palomar.edu
XP
10
Which page to load as Home Page??
• index.html• index.htm
• home.html
• home.htm
• default.htm
• default.asp, default.aspx, index.asp, index.aspx
XP
11
HTML: Language of the Web Page
A Web page is a text file written in a language called Hypertext Markup Language - describes a document’s structure and content.
HTML is not a programming language or a formatting language.
XHTML – the latest official version of HTML
HTML5 – the next version of HTML
XP
12
Goal of XHTML
Portability
Accessibility
Standardization
XP
13
How was this accomplished
Separation of content from presentation by
using Cascading Style Sheets (CSS)
CSS replaces many HTML attributes
XP
14
Tools for Creating HTML Documents
HTML Editor – Coffeecup
Text editor – notepad
Visual creator – Dreamweaver, SharePoint Designer
Converter – MS Word
XP
15
The HTML Language
Elements ( or tags)
Attributes
Values (of the attributes)
XP
16
Characterisitcs of HTML5
Open platform
Adapts to any device
Native support for more powerful
applications
XP
17
The HTML language consists of
“tags” or “elements”
Tags can be two-sided:
<body> </body> Enclose something – either content or more tags
Tags can be one-sided:
<br> or <br /> No content, they are considered “empty” tags
XHTML syntax
XP
18
HTML Tags and Attributes
XP
19
The HTML Document
Consists of two parts:
Head sectionWhere information for the browser goes
Body sectionWhere the content for the web pages goes
XP
Basic HTML Tags or Elements
<html> <head> <title> </title> </head>
<body>
</body></html>
XP
21
Paragraph Tag – centering – Block Level Element
<p style=“text-align: center”> </p>
values are left, right, center, justify
Attribute CSS property CSS value
XP
22
Break Tag
• Line break• One sided tag• Self-terminating
<br> <br />
XP
23
Bold / Italic – Inline Elements
<b>this is bold</b>
<i>this is italic</i>
Comments: <!-- -->
XP
24
Heading tags - bold, block-level element
<h1> </h1> <h2> </h2> <h3> </h3> <h4> </h4> <h5> </h5> <h6> </h6>
<h1 style=“text-align: center”> </h1>
values are left, right, center, justify
XP
25
Deprecated - “align” attribute
<h1 align=“center”> </h1>
Replaced with CSS:
<h1 style=“text-align: center”> </h1>
deprecated
XP
26
Now start learning to write HTML
by using the elements
we have just covered!