Computer Science 1032A/B Study Guide - Midterm Guide: Communication, Management System, Joint Photographic Experts Group

23 views29 pages
Published on 18 Apr 2013
School
Western University
Department
Computer Science
Course
Computer Science 1032A/B
Computer Science Midterm- HTML, XML, Excel, Chapters 1-5
Lecture 1
XML carries information while HTML displays information
XML designed to store and transport data, focus on what data is
HTML designed to display data, focus on what data looks like
Internet Protocols & Uses
Email-SMTP
File Transfer- FTP
WWW(HTML)-HTTP
E-Commerce Architecture
User HTML via HTTP Server Web Farm(commerce server application<>Other
Applications)SQL and Data Database DBMS Computer
Web Pages
Encoded in HTML
-Tag used to define data element
-Hyperlinks point to other web pages
-Heading provides data about page
-Body contains content
Transmitted by web servers
Used by Browsers
-Processes HTTP protocol
-Receives & displays document
-Transmits responses
Markup Languages
Is a language that annotates text so that the computer can manipulate the text and display
it.
Types
-Presentational
-Procedural
-Descriptive
-GML/SGML
-HTML/XHTML
-XML
Hyper Text Markup Language
First markup language of the WWW
Used to deliver content to the web
Open standard (W3C World Wide Web Consortium)
Readability
Easy to use
Portability
Structure of an HTML file
File contains
Content
-Anything that is not an instruction
Instructions (presentation)
Unlock document

This preview shows pages 1-3 of the document.
Unlock all 29 pages and 3 million more documents.

Already have an account? Log in
-Instructions inserted as “tags
Predefined Tags
Control how the text is displayed
Insert images into the document
Insert links to other documents
HTML Tags
Normally occur in pairs
A pair of tags surrounding the content
Start tag & end tag
<tag>TEXT</tag>
Tags are NOT case sensitive
Doesn’t matter if you use capitals or not, still means same thing
Document Set Up
Entire
document
Basic HTML Structure
<HTML>
<HEAD>
<TITLE> Title is displayed in title bar of browser </TITLE>
</HEAD>
<BODY>
….
</BODY>
</HTML>
Heading Tags
There are 6 heading levels
-H1 H6
-H1 is the LARGEST
-H6 is the SMALLEST
To create a heading
<HTML>
<Head>
…..
…..
…..
</Head>
<Body>
…..
…..
…..
…..
…..
…..
</Body>
</HTML>
Head containing
browser information
Contains
content &
associated
presentation
Unlock document

This preview shows pages 1-3 of the document.
Unlock all 29 pages and 3 million more documents.

Already have an account? Log in
Enclose the text between the opening and closing tags for the heading level
I.e.
<h1>My Webpage</h1>
Tags
Formatting
- <I> italics
- <B> bold
- <U> Underline
Layout
- <Center> center the text
- <P> new paragraph
- <BR> break, start a new line
- <HR> horizontal line, draw a line
(Tags can be NESTED)
<B><U>Bold Underline Text</B></U>
Images
Images are added using <IMG> tag
You do not have to use </IMG>
The SRC parameter is used to indicate the source of the image
I.e
<IMG SRC=midsex1.jpg>
Image formats
GIF Graphics interchange format
JPG (JPEG) Joint Photographic Experts Group
BMP Windows bitmap
Images from different locations
-specify location in SRC attribute as the exact location of the image file
URL
Uniform Resource Locator
A URL contains information about
-Protocol(procedure) used to access the document
-Address of a document on the Internet
Protocols
HTTP hyper text transfer protocol
Transmits files on the WWW
FTP file transfer protocol
Exchange files over the internet
SMTP simple mail transfer protocol
Sends email over the internet
An Example URL
http://www.uwo.ca/selected/browse.html
protocol, web server, folder, document
Anchors
Anchor tags (<A> and </A> insert:
Hyperlinks
Link to another document on the WWW
Bookmarks
Unlock document

This preview shows pages 1-3 of the document.
Unlock all 29 pages and 3 million more documents.

Already have an account? Log in

Document Summary

Computer science midterm- html, xml, excel, chapters 1-5. Xml designed to store and transport data, focus on what data is. Html designed to display data, focus on what data looks like. User html via http server web farm(commerce server application<>other. Is a language that annotates text so that the computer can manipulate the text and display. Open standard (w3c world wide web consortium) Doesn"t matter if you use capitals or not, still means same thing. title is displayed in title bar of browser Enclose the text between the opening and closing tags for the heading level. The src parameter is used to indicate the source of the image. Specify location in src attribute as the exact location of the image file (tags can be nested) An example url protocol, web server, folder, document. Content inside the anchor tag (link will be displayed as this word

Get OneClass Grade+

Unlimited access to all notes and study guides.

YearlyMost Popular
75% OFF
$9.98/m
Monthly
$39.98/m
Single doc
$39.98

or

You will be charged $119.76 upfront and auto renewed at the end of each cycle. You may cancel anytime under Payment Settings. For more information, see our Terms and Privacy.
Payments are encrypted using 256-bit SSL. Powered by Stripe.