1 / 29

HTML and Web Publishing Continued

HTML and Web Publishing Continued. CS 104. HTML and Web Publishing. What is HTML? review Why Learn HTML Netscape Composer. What is HTML. Hypertext Mark-up Language not a programming language “marking-up” text for emphasis and organization standard. HTML file.

amory
Download Presentation

HTML and Web Publishing Continued

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. HTML and Web PublishingContinued CS 104

  2. HTML and Web Publishing • What is HTML? review • Why Learn HTML • Netscape Composer

  3. What is HTML • Hypertext Mark-up Language • not a programming language • “marking-up” text for emphasis and organization • standard

  4. HTML file • ASCII file with a .html extension • contains tags and text • all web documents are HTML files

  5. Tags • commands surrounded by <> • understood by the browser to take some action

  6. Example of HTML template • <HTML> • <HEAD> • <TITLE>Enter title here</TITLE> • </HEAD> • <BODY> • </BODY> • </HTML>

  7. Why learn HTML • Have a global audience • growth in the use for business and commerce is expanding daily • do not need programming skills • you have the freedom to supply information to readers in powerfully innovative ways. • Most dynamic medium you will ever publish in

  8. What can I do in HTML • HTML tags can produce most of the formatting a normal word processor can do. (tables, paragraphs, lists, italics, bold ….) • But it can also incorporate images, sounds, ,hyperlinks, other programs • For each one of these there is a special tag • For example the anchor tag

  9. Linking to Other Documents • Chief power of HTML comes from its ability to link regions of text (and also images) to another document • Browsers highlight these regions to indicate that they are hypertext links • HTML’s single hypertext-related tag is <A>, which stands for anchor

  10. Providing Links • To complete the anchor tag you must provide a link (a viewable HTML file)

  11. Relative and Absolute Links • Remember this concept in spreadsheets, well it also occurs in links. • A relative link, depends where the document that uses the link is located. If the anchor and the source are in the same directory, then only the file name.html is necessary. • Absolute pathname gives the entire URL

  12. Links • Relative links should be used within your set of pages. This way it is easier to move a group of documents to another location, because the relative path name will still be valid. • You must use absolute pathnames when linking document that are not directly related. (another site)

  13. URL syntax • protocol://host.domain[:port]/path/filename • In our links, the protocol is usually HTTP, but it can be news, telnet, ftp … • HTTP = Hypertext transfer protocol • If you use a DOS/Windows-based system, a backslash indicates a change in folders. However, the Web follows UNIX syntax which is a forward slash.

  14. Publishing on the Web • all web documents are in HTML • HTML describes the format layout and logical structure of a hypermedia document • user’s web browser translates the HTML document • to publish - need to place the HTML document where the Web Server can access it

  15. Your URL • The web server for the VAX expects to find your homepage in a special place (the www directory of your account). Webready already has placed the homepage template (index.html) there. So when you type in: • http://bsuvc.bsu.edu/home/yourvaxusername/ • This will retrieve the INDEX.HTML file from your www directory.

  16. Updating Your Homepage • There are many tools to use to create html documents. They range from simple text editors where you have to know HTML to what you see is what you get environments. • These WYSIWYG tools are similar to using a word processor (Word)

  17. How to Update the Information • You already used Word to create a Web page by saving it as an HTML file. • By bringing this page back into Word again you can continue to make changes to the same document

  18. The Vax • This computer system is different than the Windows system you are accustomed to • Filenames • all filename get converted to uppercase • case insensitive (this is NOT true of other systems) • there can be no blanks in a filename

  19. Publishing • The process of placing your web pages on server • Each server can have a different method • Our sever is the VAX ( bsuvc) • BSUVC expects the html pages to be stored in a directory named www and the root page must be name INDEX.HTML

  20. FTP - The File Transfer Protocol • How are we going to transfer the file(s) we created using Word that are now on the floppy to the directory WWW on the VAX? • FTP • The program FTP is loaded on many computers on across campus.

  21. Availability of FTP • On computers running any version of Windows 95/97, you can execute it from the start menu • Also on computers running Windows NT with a Start menu. • On some NT machines that have a specific FTP icon on the desktop (no start menu) • NOTICE: you need either a start menu or an FTP icon

  22. Executing FTP • Click the Start button, then select programs • then click MS DOS Prompt • You will see a plain black window on your screen with only white text and blinking cursor • Now type in A: and hit enter • type in FTP BSUVC.BSU.EDU

  23. Executing FTP • With that command you have just asked FTP to connect you to the VAX • As you know the VAX is a multiuser system and now you enter your Username and Password. • If you have logged in successfully you will see a message confirming this • now type in the word bin and hit the return

  24. Executing FTP • The bin command is necessary because the files are in binary format for the web (graphic). Be sure that you enter bin in lowercase letters. • Enter the command cd www • you have just told ftp to change to the www directory in your Vax accout

  25. Executing FTP • Now you are ready to transfer the files to the WWW folder • at the prompt type • put index.html • if you have other files that index.html uses as hyperlink, transfer them now! • put mypicture.jpg • after transferring all the files, type in quit / bye • close the window

  26. Other FTP reminders • If you are a slow typist, FTP will time out. You will just type in bye and • start at ftp bsuvc.bsu.edu • if you have all your files to transfer in one directory, you can use a short cut command mput *.* • Notice that you can PUT but you also can GET.

  27. Put and Get Machine from where processed the ftp Machine connecting to Get Files from connecting machine going to the ftp machine PUT Files from the ftp machine going to the connecting machine

  28. Viewing • To see your masterpiece • use Explorer or Netscape • http://bsuvc.bsu.edu/home/your_username

  29. Questions

More Related