18
Review session for Web Review session for Web development development

Review session for Web development. Time line of the internet history When was the ARPANET first demostrated? When did the NFSNet replace it? When did

Embed Size (px)

Citation preview

Page 1: Review session for Web development. Time line of the internet history When was the ARPANET first demostrated? When did the NFSNet replace it? When did

Review session for Web Review session for Web developmentdevelopment

Page 2: Review session for Web development. Time line of the internet history When was the ARPANET first demostrated? When did the NFSNet replace it? When did

Time line of the internet historyTime line of the internet history

When was the ARPANET first When was the ARPANET first demostrated?demostrated?

When did the NFSNet replace it?When did the NFSNet replace it?

When did the email(ftp, www…) appear?When did the email(ftp, www…) appear?

Exact year not required, but you need to Exact year not required, but you need to know the era.know the era.

Page 3: Review session for Web development. Time line of the internet history When was the ARPANET first demostrated? When did the NFSNet replace it? When did

Basics of InternetBasics of Internet

What are domain names?What are domain names?– www.lib.msu.eduwww.lib.msu.edu

Page 4: Review session for Web development. Time line of the internet history When was the ARPANET first demostrated? When did the NFSNet replace it? When did

Domain namesDomain names

What are first level, second level domain What are first level, second level domain names?names?

.com .org .edu are top level domains, which .com .org .edu are top level domains, which specify the category of the domain name user.specify the category of the domain name user.

Second level domain name gives the entity’s Second level domain name gives the entity’s name. This must be unique in the top level name. This must be unique in the top level domain.domain.

Low level domain gives the server’s name. Low level domain gives the server’s name.

What is the difference between a domain name What is the difference between a domain name and a URLand a URL

Page 5: Review session for Web development. Time line of the internet history When was the ARPANET first demostrated? When did the NFSNet replace it? When did

Universal Resource LocatorUniversal Resource Locator: Static: Static

http://www.msu.edu/~urquhar5/tour/active.html

www.msu.eduDomain Name - name of remote computer

http://identifies type of transfer

/~urquhar5/tour/active.htmlFile Location on Remote ComputerThis part is CasE SenSiTiVe.

Page 6: Review session for Web development. Time line of the internet history When was the ARPANET first demostrated? When did the NFSNet replace it? When did

Universal Resource LocatorUniversal Resource Locator: : DynamicDynamic

http://www.msu.edu/cgi-bin/redirect.cgi?q=LBS&site=Web

www.msu.eduDomain Name - name of remote computer

http://identifies type of transfer

Folder name /cgi-bin/

Server program name: redirect.cgi

Argument of the server program: ?q=LBS&site=Web

Page 7: Review session for Web development. Time line of the internet history When was the ARPANET first demostrated? When did the NFSNet replace it? When did

Web Page Development CycleWeb Page Development Cycle

EDIT and SAVE the file in your AFS

p:\web\test.html

TEST by BROWSING to the page

http://www.msu.edu/~msunetid/test.html

Page 8: Review session for Web development. Time line of the internet history When was the ARPANET first demostrated? When did the NFSNet replace it? When did

HTML File StructureHTML File Structure

<HTML><HTML>

<HEAD><HEAD>

</HEAD></HEAD>

<BODY><BODY>

</BODY></BODY>

</HTML></HTML>

Page 9: Review session for Web development. Time line of the internet history When was the ARPANET first demostrated? When did the NFSNet replace it? When did

EssentialEssential HTML tags HTML tags

<HTML> </HTML><HTML> </HTML>

<head> </head><head> </head>

<body> </body><body> </body>

<p> </p><p> </p>

<a href=“http://www.msu.edu/”> MSU </a><a href=“http://www.msu.edu/”> MSU </a>

<img src=“filename.jpg”><img src=“filename.jpg”>

H1, H2, u, em.H1, H2, u, em.

Page 10: Review session for Web development. Time line of the internet history When was the ARPANET first demostrated? When did the NFSNet replace it? When did

Separation of Content and Separation of Content and PresentationPresentation

ContentContent– Use tags like Use tags like <h1>, <h2>, <p>, <em><h1>, <h2>, <p>, <em>

or or <li><li> to indicate the to indicate the structurestructure of your of your pages pages

Page 11: Review session for Web development. Time line of the internet history When was the ARPANET first demostrated? When did the NFSNet replace it? When did

Hyperlinks in HTML CodeHyperlinks in HTML Code

<a href=“URL”><a href=“URL”>Text for linkText for link</a></a>

Opening Tag

Tag Attribute: URL Closing Tag

Link text

href = “Hyper Text Reference ”

Page 12: Review session for Web development. Time line of the internet history When was the ARPANET first demostrated? When did the NFSNet replace it? When did

Types of linkTypes of link

AAbsolutebsolute link link – <a href=“<a href=“http://http://www.msu.eduwww.msu.edu”> </a>”> </a>

Relative LinkRelative Link– <a href=“resume.html”> </a><a href=“resume.html”> </a>

Email LinkEmail Link– <a href=“mailto:[email protected]”> </a><a href=“mailto:[email protected]”> </a>

Anchor LinkAnchor Link– <a href=“#AnchorName”> </a><a href=“#AnchorName”> </a>

Page 13: Review session for Web development. Time line of the internet history When was the ARPANET first demostrated? When did the NFSNet replace it? When did

Color Control CodesColor Control Codes

Computer monitors combine Red, Green and Computer monitors combine Red, Green and Blue (RGB) in various amountsBlue (RGB) in various amountsHexadecimal codes tell the computer how much Hexadecimal codes tell the computer how much Red, Green and Blue to display Red, Green and Blue to display – Red:Red: FF0000FF0000– GreenGreen:: 00FF0000FF00– BlueBlue: : 0000FF0000FF– Other colors? Combinations! Other colors? Combinations! YellowYellow = FFFF00 = FFFF00– White:White: FFFFFFFFFFFF– Black:Black: 000000000000

Approximately 17 million combinations.Approximately 17 million combinations.

Page 14: Review session for Web development. Time line of the internet history When was the ARPANET first demostrated? When did the NFSNet replace it? When did

GraphicsGraphics

Types of graphics that can be insert into Types of graphics that can be insert into HTMLHTML– JpegJpeg– GifGif

What are they good for?What are they good for?

Page 15: Review session for Web development. Time line of the internet history When was the ARPANET first demostrated? When did the NFSNet replace it? When did

Graphics in HTMLGraphics in HTML

First step: Copy the graphics into your web First step: Copy the graphics into your web folder, because graphics is NOT embedded in folder, because graphics is NOT embedded in HTML.HTML.

<img src=“URL”> <img src=“URL”>

oror <img src=“file.name”> <img src=“file.name”>

Can include size parametersCan include size parameters– <img src=“URL” height=80 width=240><img src=“URL” height=80 width=240>– <img src=“<img src=“dru.gifdru.gif” height=25 width=100>” height=25 width=100>

Note: No closing tag!Note: No closing tag!

Page 16: Review session for Web development. Time line of the internet history When was the ARPANET first demostrated? When did the NFSNet replace it? When did

Additional graphics featuresAdditional graphics features

Graphics as linkGraphics as link– How?How?

Page 17: Review session for Web development. Time line of the internet history When was the ARPANET first demostrated? When did the NFSNet replace it? When did

General steps of web site designGeneral steps of web site design

SurveySurvey– Who’s my audience Who’s my audience – Decide the general styleDecide the general style

Organize informationOrganize informationLayout designLayout designTemplate designTemplate designImplementationImplementation– Generating content page from template.Generating content page from template.

Testing the web siteTesting the web sitePublishingPublishing

Page 18: Review session for Web development. Time line of the internet history When was the ARPANET first demostrated? When did the NFSNet replace it? When did

Layout designLayout design

Two methodsTwo methods– Using tableUsing table– Using layout view to draw layout cells.Using layout view to draw layout cells.

Dreamweaver automatically translate the Dreamweaver automatically translate the layout table and cell to standard tables.layout table and cell to standard tables.