360 likes | 428 Vues
CE80N Introduction to Networks & The Internet. Dr. Chane L. Fullmer UCSC Winter 2002. General Information. TA Office… Trailer #15 is no more TA offices moved to the ISB Rm 110.. same times as posted previously. Web Search based Essay. Essay based on Web search results
E N D
CE80NIntroduction to Networks&The Internet Dr. Chane L. Fullmer UCSC Winter 2002
General Information • TA Office… • Trailer #15 is no more • TA offices moved to the ISB • Rm 110.. same times as posted previously
Web Search based Essay • Essay based on Web search results • 1-2 pages on any topic of interest • Must include results from at least four Web page references • References must be listed in a bibliography • Due Tuesday, February 26, 2002
Class Information • Web page tutorial available on-line • Web page submission: • Email to venkat@cse.ucsc.edu • Subject: cmpe080n-assgn4 • Final Exam • Last class session • March 14, 2002
Personal Web Page • No new pages received... • So, here’s mine :) • http://www.cse.ucsc.edu/~chane • My Home Page...
Display Hardware Varies A variety of computers around the world are used to display web pages.
A Browser Translates And Displays A Web Document A Web page is created to be used with any display hardware. The computer language provides general display guidelines without giving details.
A Consequence of the Web Approach The same web page may appear differently. Using different browsers Using different computer hardware
HTML Each web page is written in HyperText Markup Language (HTML). Has its own grammar rules Uses punctuation symbols in unusual ways Does not show spaces on displayed page uses free format input.
Instructions In A Web Page Control The Output Tags are instructions that tell a browser how to display the page. Uses brackets < >to indicate a tag Uses tags in pairs (usually)
A Web Page is Divided Into Two Main Sections The two main sections of a web page are: Heading <HEAD> </HEAD> Body <BODY> </BODY> Example Web Page
Indentation Can Make HTML Readable Indentation makes it easier for people to read. Place tags on separate lines Indent items This is important when updating. Not done by the original creator as a rule Machine generated HTML can be ugly... i.e. HTML from M$ Word Machine Generated HTML
HTML Text HTML uses tags to organize text into paragraphs. Tells the browser to end one paragraph and begin the next <P> Tells the browser to end the line and start a new line <br> Example Page
A Web Page Can Link To Another Page Items that correspond to a link are anchored. Use tags: <A> </A> Use HREF to specify a link to a page: <A HREF=“http://www.site.com”> Link </A> Example Page
HTML Allows Numbered And Unnumbered Lists HTML can be used to create a numbered (Ordered) list. Uses tags: <OL> </OL> For an unnumbered (Unordered) list. Use tags: <UL> </UL> Example Page
Images must be converted into numbers stored in a file. Quantized and digitized.... Two methods of digitizing a picture are: To use a digital camera To use a scanner Images On A Web Page Are Digital
Figure 23.8 Figure 23.8 Illustrations of (a) a digital scanner, and (b) a digital camera. Either produces a file stored on the computer’s disk.
Digital Image Formats There are two popular forms of representing digital images. Including: Graphics Image Format (GIF) Joint Picture Encoding Group (JPEG)
HTML Allows A Web Page To Include An Image Once an image has been stored on a hard disk, a web page can reference the file. Uses the tag: <IMG SRC=“xxx.gif”>
Text Can Appear Adjacent To An Image An image on a web page can appear by itself or adjacent to text. HTML treats an image like an oversized “word” Example Page
Images Can Be Aligned within Text HTML provides a way to control the details of how an image is aligned with surrounding text. Using the ALIGN tag ALIGN=TOP ALIGN=CENTER ALIGN=LEFT ALIGN=RIGHT Example Page
More about Images • Image size may be controlled.. • Size • Height and Width (in pixels) • Borders can be added • Example Page -- No Control • Example Page -- Size Control • Example Page -- Borders
Images Can Link To Another Web Page HTML uses the same pair of tags for text links as for image links. Use: <A HREF=“http://www.sample.com/index.html”> <IMG SRC=“yyy.jpeg”> </A> Example Page
Some Browsers Can Stretch Or Shrink Images The IMG tag may include image height and width. Caveat: Not all browsers can resize images. It is best to store images in the desired size.
The Background Can Be Controlled HTML allows one to specify the background of a Web page. Choose the color Specify the image Example Page
Other Features Of HTML When a browser displays a table, it Aligns information into Rows Columns Multiple links may be associated with a single image.
Importance of HTML Before HTML, displayed combinations of text and graphics required complex computer programs. Often was hardware specific CGA,EGA,VGA,SVGA, X,Mac...... Resolution of screens non-uniform
GUI Tools Help With Web Page Creation Web authoring tools make it possible to compose a web page without learning HTML. Files are saved as HTML. Or *.htm for M$ systems
HTML reference HTML The Definitive Guide Musciano & Kennedy, O’Reilly & Associates, Inc.
Summary • HTML is the language of the Web. • HTML is hidden to the average user. • Browsers and servers handle the details and display the results • HTML is significant in that: • Sufficiently general to be widely used • Useable by people without computer programming knowledge
Glossary • Homepage • A page of information accessible through the World Wide Web that is the main page for an individual or a company. • Hot List • The original term used for a list of bookmarks. Now essentially obsolete.
Glossary • Hypermedia • An information storage system in which each page of information can contain embedded references to images, sounds, and other pages of information. • GUI • (Graphical User Interface) An interface that presents the user with pictures and icons rather than words.
Glossary • Hypertext • A system for storing pages of textual information that each contain embedded references to other pages of information. • Mosaic • The first browser program for the World Wide Web.
Glossary • Multimedia • A term describing any facility that can display text, graphics, images, and sounds. • Uniform Resource Locator • (URL) A short character string used by browsers to identify a particular page of information on the World Wide Web.
Glossary • World Wide Web • (WWW) An Internet service that organizes information using hypermedia.