WWW and HTMLAnnoucementInfrastructure of the InternetInternet connection and telephone connectionInfrastructure of InternetIP AddressDomain namesDomain name structureWhat is WWW?Universal Resource Locator: StaticUniversal Resource Locator: DynamicMSU Web Pages are Files in AFSWeb Page Development CycleHTML File StructureHTML TagsBrowsing to Your Web PageAdding Text to Your HTML FileSlide 18Example of TagsEssential HTML TagsBrowser Output of PageView Page SourceYour personal web spaceWeb page authoring toolsNetscape ComposerMicrosoft Front PageMacromedia DreamweaverWWW and HTMLWWW and HTMLAnnoucementAnnoucementMany people submitted the .vbp file and Many people submitted the .vbp file and lost pointslost pointsCan resubmit the .frm file to my email, Can resubmit the .frm file to my email, [email protected] and get most [email protected] and get most points back.points back.Deadline of Program 4 is extended to 5 Deadline of Program 4 is extended to 5 PM today. PM today. I will hold office hour until 2:30PM today.I will hold office hour until 2:30PM today.Infrastructure of the Infrastructure of the InternetInternetInternet connection and Internet connection and telephone connectiontelephone connectionTraditional telephone connectionTraditional telephone connection–Exclusive communication channels.Exclusive communication channels.Internet connectionInternet connection–SenderSender: Digital data are separated : Digital data are separated into small packages and sent to the into small packages and sent to the target computer.target computer.–ReceiverReceiver: collect all the packages and : collect all the packages and assemble into original digital data.assemble into original digital data.Infrastructure of InternetInfrastructure of InternetIP AddressIP AddressEach computer connected to the Each computer connected to the internet has a unique address.internet has a unique address.IP address is a 4 byte (32bits) IP address is a 4 byte (32bits) number.number.–For example: 35.9.2.154 ->msu web For example: 35.9.2.154 ->msu web serverserver–24,294,967,296 possible IP addresses.24,294,967,296 possible IP addresses.–Static IPStatic IP: for computers that works all : for computers that works all day long.day long.–Dynamic IPDynamic IP: only assigning an IP : only assigning an IP address when computer is in use.address when computer is in use.Domain namesDomain namesIP address is concise, but not for human.IP address is concise, but not for human.64.236.16.20 is much harder to remember 64.236.16.20 is much harder to remember than than www.cnn.comwww.cnn.comDomain names are for “important” servers Domain names are for “important” servers in the internet, like in the internet, like www.msu.eduwww.msu.edu..Domain names are stored in domain name Domain names are stored in domain name server, which is a huge database.server, which is a huge database.Domain name is unique, and can be Domain name is unique, and can be remaped to different IP addresses.remaped to different IP addresses.Domain name structureDomain name structurewww.microsoft.comwww.microsoft.com.com .org .edu are top level .com .org .edu are top level domains, which specify the domains, which specify the category of the domain name user.category of the domain name user.Second level domain gives the Second level domain gives the entity’s name. This must be unique entity’s name. This must be unique in the top level domain.in the top level domain.Low level domain gives the Low level domain gives the server’s name. server’s name.What is WWW?What is WWW?WWW – World Wide Web, which is a standard for WWW – World Wide Web, which is a standard for organizing and deliver information through the organizing and deliver information through the internet.internet.HTML - HyperText Markup Language, which are HTML - HyperText Markup Language, which are public files on computers can be read by remote public files on computers can be read by remote user user HTTP - HyperText Transfer ProtocolHTTP - HyperText Transfer ProtocolURL - Universal Resource Locator - is name of URL - Universal Resource Locator - is name of file on a remote computerfile on a remote computerUniversal Resource LocatorUniversal Resource Locator: : StaticStatichttp://www.msu.edu/~urquhar5/tour/active.htmlwww.msu.eduDomain Name - name of remote computerhttp://identifies type of transfer/~urquhar5/tour/active.htmlFile Location on Remote ComputerThis part is CasE SenSiTiVe.Universal Resource LocatorUniversal Resource Locator: : DynamicDynamichttp://www.msu.edu/cgi-bin/redirect.cgi?q=LBS&site=Webwww.msu.eduDomain Name - name of remote computerhttp://identifies type of transferFolder name /cgi-bin/Server program name: redirect.cgiArgument of the server program: ?q=LBS&site=WebMSU Web Pages are MSU Web Pages are FilesFiles in AFSin AFSUser SPARTY’s Web Page in AFS:u:\msu\user\s\p\sparty\web\test.htmlOr p:\web\test.htmlMSU Web Serverwww.msu.eduAny person on the Web can browse to:http://www.msu.edu/~sparty/test.htmlWeb Page Development Web Page Development CycleCycleEDIT and SAVE the file in your AFSp:\web\test.htmlTEST by BROWSING to the page http://www.msu.edu/~msunetid/test.htmlHTML File StructureHTML File Structure<HTML><HTML><HEAD><HEAD></HEAD></HEAD><BODY><BODY></BODY></BODY></HTML></HTML>HTML TagsHTML TagsEach opening HTML tag has a Each opening HTML tag has a closing HTML tag that matches it.closing HTML tag that matches it.–<HTML> for begin a HTML file <HTML> for begin a HTML file –</HTML> for ending a HTML file</HTML> for ending a HTML file–<P> goes at beginning of paragraph<P> goes at beginning of paragraph–</P> goes at end of paragraph</P> goes at end of paragraphBrowsing to Your Web Browsing to Your Web PagePageBrowse to Browse to testtest.html.html with Netscape with Netscape NavigatorNavigator or Internet Explorer. or Internet Explorer.–The URL to this Web page is:The URL to this Web page is:http://www.msu.edu/~http://www.msu.edu/~msunetidmsunetid//testtest.html.htmlNote: Note: ~ ~ Tilde Tilde beforebefore your MSU NetID your MSU NetIDReplace Replace msune tidmsune tid with with youryour MSU NetID MSU NetIDIncludes the filename for your Web pageIncludes the filename for your Web pageAdding Text to Your HTML Adding Text to Your HTML FileFile<HTML><HTML><HEAD><HEAD><TITLE>Day 6 Page</TITLE><TITLE>Day 6
View Full Document