Tor2
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Tor2

on

  • 1,412 views

 

Statistics

Views

Total Views
1,412
Views on SlideShare
1,410
Embed Views
2

Actions

Likes
1
Downloads
2
Comments
0

1 Embed 2

http://www.slideshare.net 2

Accessibility

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Tor2 Presentation Transcript

  • 1. Tame TOR II
    • GSLIS Toolkit: Basic HTML
            • Dixie Blake Foster
            • GSLIS West
            • September 23, 2007
  • 2. Today’s Topics
    • Basic HTML
      • Structure
      • Text
      • Graphics
      • Links to web pages and documents
    • FTP
      • Going “live”
      • But where is it?
  • 3. HTML
    • HyperText Markup Language
      • Broad standard that makes the Web possible
      • Standards define tags & rules for using them
    • Migration to XHTML
      • eXtensible HyperText Markup Language
      • Stricter but more powerful than HTML
      • Creates and maintains many web standards
      • Tim Berners-Lee
    http://www.w3.org/
  • 4. The basics
    • What is a tag and why do I care?
      • <tag optional attributes > content </tag>
      • <tag optional attributes />
    • Every page has them
    • Big fish eat little fish (Huh?)
    • What makes my page “live?”
  • 5. Structural tags
      • <html>
      • <head>
      • <title> Page Title </title>
      • </head>
      • <body>
      • <p> Page Content </p>
      • </body>
      • </html>
    GSLIS West News Page
  • 6. html tag
        • <html>
        • </html >
    GSLIS West News Page
    • The outer tag “defines” the page
    • Tells browser what coding is in use
    • All markup tags are inside
  • 7. head
        • <html>
        • <head>
        • </head>
        • </html>
    GSLIS West News Page Contains “administrative” info
  • 8. title
        • <html>
        • <head>
        • <title> Page Title </title>
        • </head>
        • </html>
    GSLIS West News Page
    • “ Page Title” appears in title bar
    • Style sheets
    • <meta> tags
  • 9. body
        • <html>
        • <head>
        • <title> Page Title </title>
        • </head>
        • <body>
        • </body>
        • </html>
    GSLIS West News Page Contains page content
  • 10. Content
        • <html>
        • <head>
        • <title> Page Title </title>
        • </head>
        • <body>
        • <p> Page content </p>
        • </body>
        • </html>
    GSLIS West News Page User sees “Page content”
  • 11. Structural tags
      • <html>
      • <head>
      • <title> Page Title </title>
      • </head>
      • <body>
      • <p> Page Content </p>
      • </body>
      • </html>
    GSLIS West News Page
  • 12. Fun with formatting
    • <html>
    • <head>
    • <title> Fun with formatting </title>
    • </head>
    • <body>
      • <h1> Twinkle twinkle </h1>
      • <h2> little star </h2>
      • <h3> how I wonder </h3>
      • <h4> what you are </h4>
      • <h5> up above the world so high </h5>
      • <h6> like a diamond in the sky </h6>
    • </body>
    • </html>
    Tech Lab Tip: Don’t get section headers confused with the document header <head> tag.
  • 13. Fun with Text
    • <html>
    • <head>
    • <title> Fun with Text </title>
    • </head>
    • <body>
    • <h1> Formatting text </h1>
    • <p> This is a paragraph of text. I may want
    • to make certain words <strong> strong </strong>
    • or <em> emphatic </em> . All I need to do is
    • add the tags!
    • </p>
    • </body>
    • </html>
    Question How would you make words both strong and emphatic ?
  • 14. Fish again
    • <html>
    • <head>
    • <title> Fun with Text </title>
    • </head>
    • <body>
    • <h1>Big Fish eat Little Fish</h1>
    • <p>This is <strong>strong</strong></p>
    • <p>This is <em>emphatic</em></p>
    • <p>This is <strong><em>strong and emphatic!</em></strong></p>
    • </body>
    • </html>
    Tech Lab Tip Tags must always be completely contained within the outer tag.
  • 15. Watch where you close <strong><em>Wrong!</strong></em> <strong><em>Wrong!</strong></em>
  • 16. This is correct <strong><em>Right!</em></strong>
  • 17. Fun with Lists
    • <html>
    • <head>
    • <title> Fun with Lists </title>
    • </head>
    • <body>
    • <h1> Ordered List </h1>
    • <ol>
    • <li> The first item </li>
    • <li> The second item </li>
    • <li> The third item </li>
    • </ol>
    • </body>
    • </html>
  • 18. Fun with Lists
    • <html>
    • <head>
    • <title> Fun with Lists </title>
    • </head>
    • <body>
    • <h1> Unordered List </h1>
    • <ul>
    • <li>The first item</li>
    • <li>The second item</li>
    • <li>The third item</li>
    • </ul>
    • </body>
    • </html>
  • 19. Pretty pictures
    • <img src=“ relative-path/filename.jpg ” />
      • Tag name is img
      • src is an attribute of img
      • Tells browser where to find image
    • Tells the browser to display an image
    • Self-closing tag – the “/>” is the giveaway.
    • Tech Lab Tips
    • Filenames on server are case sensitive
    • Don’t forget the extension
    • Spaces in filenames spell trouble – rename your files!
    • The path is relative – put your image in the folder with your .html
  • 20. Manny Being Manny
    • <html>
    • <head>
    • <title> Fun with Images </title>
    • </head>
    • <body>
    • <h1> Manny Being Manny </h1>
    • <img src=&quot;manny.jpg&quot; />
    • </body>
    • </html>
  • 21. Live links
    • <a href=“ http://www.google.com ”> Google </a>
    • Tag name is a for anchor tag
    • href is an attribute of a
    • Tells browser where to find object
      • External web page
      • Local web page or file
    • Text between open and close tags is clickable.
  • 22. Live link in action
    • <html>
    • <head>
    • <title> Link to GSLIS </title>
    • </head>
    • <body>
    • <h1> Latest GSLIS News </h1>
    • <p> Go to the
    • <a href=&quot;http://www.simmons.edu/gslis&quot;> GSLIS Web page </a>
    • for the latest GSLIS news.
    • </p>
    • </body>
    • </html>
  • 23. It’s your turn!
    • Those are all the tags you need to know in order to complete TOR Part 2 . . .
    • . . . but there are lots more if you keep learning [X]HTML!
    • But first . . .
  • 24. Local machine vs. web server
    • Local files are on the computer you’re using
    • Live Web pages must be uploaded to your web space
    • To preview your page locally as you build it:
      • Save your .html document
      • Open your browser
      • Select File -> Open
      • Browse to your folder
      • Select your .html file
    Tech Lab Tip To save your file from Notepad, chose File => Save As => “myfile.html” using double quotes.
  • 25. Find practice files
    • Enter remote.simmons.edu in browser
    • Log in with your email name
    • Password may be your Simmons ID
    • Click on MCBFS1 link
    • Click on Public folder
    • Find “TOR HTML Workshop” folder & click
    • Click on “files for practice exercise” folder
  • 26. Download practice files
    • Find three files in the folder
      • potterquiz.pdf
      • cover.jpg
      • summary.doc
    • Create a folder on local machine
    • Right click each file to save locally
  • 27. Practice Page: Get Started
    • Open a blank Notepad document
      • Start => All Programs => Accessories => Notepad
    • Save it to your local folder as “practice.html”
    Tech Lab Tip Mac users: The pre-installed text editor on the Mac is called TextEdit, but it does not always handle HTML very well. You may want to download the free Taco HTML Editor. See the Tech Lab Download Center at http://my.simmons.edu/gslis/techlab/howto-info.shtml#web for instructions
  • 28. Practice Page: Structural Tags
    • <html>
    • <head>
    • </head>
    • <body>
    • </body>
    • </html>
  • 29. Practice Page: Page Title
    • <html>
    • <head>
    • <title> Harry Potter </title>
    • </head>
    • <body>
    • </body>
    • </html>
  • 30. Practice Page: Adding Content
    • Let’s add a paragraph of text.
    • <html>
    • <head>
    • <title> Harry Potter </title>
    • </head>
    • <body>
    • <p> ……….
    • </p>
    • </body>
    • </html>
    Insert this text The long awaited, eagerly anticipated, Harry Potter and the Half Blood Prince has arrived. A magnificent spectacle more than worth the price of admission, Harry Potter and the Half Blood Prince will blow you away. However, given that so much has gone into protecting . . .
  • 31. Practice Page: Adding Content
    • That paragraph could use a section heading
    <h1> Plot Summary </h1> Preview your page Tech Lab Tip Once your page is open in Internet Explorer or FireFox, just Refresh to see your changes.
  • 32. Practice Page: Adding Content
    • Let’s add an image
    <img src=“cover.jpg” /> Preview your page to see if it worked
  • 33. Practice Page: Adding Content
    • Time for the reading list
    • <ul>
      • <li> Harry Potter and the Prisoner of Azkaban </li>
      • <li> Harry Potter and the Order of the Phoenix </li>
      • <li> Harry Potter and the Philosopher’s Stone </li>
    • </ul>
    Preview your page, change to an ordered list, and preview again
  • 34. Practice Page: Adding Content
    • Maybe this list could use a section header
    <h3> Reading List </h3>
  • 35. Practice Page: Adding Content
    • Let’s link to our quiz file next
    • Give the link some context
    <p> Test your HPQ with a <a href=“potterquiz.pdf”> quiz </a> ! </p>
  • 36. Practice Page: Adding Content
    • Go back to the paragraph and make the title of the book bold .
    <p> The long awaited, eagerly anticipated , <strong> Harry Potter and the Deathly Hallows </strong> has arrived. A magnificent spectacle more than worth the price of admission, Harry Potter and the Half Blood Prince will blow you away. However, given that so much has gone into protecting . . . </p> What’s the tag? <strong> </strong>
  • 37. Ready to go live!
    • Download FTP software if necessary
    • Windows use WinSCP
      • http://winscp.net/eng/index.php
    • Mac use Cyberduck
      • cyberduck.ch
  • 38. Accessing your Web space
    • Host name is
    • web.simmons.edu
    • Use your username and network password
    • Click Login
    • Save only on your own machine!
  • 39. Understanding your Web space
    • Left pane shows local computer
    • Active pane’s title bar is gray
    • Navigate to your local working folder
  • 40. Understanding your Web space
    • Right pane shows web space
    • All your web pages live in public_html
    • You can create subfolders
  • 41. Upload your files
    • Highlight the files you want to upload
    • Drag and drop into public_html
    • Click copy to confirm
  • 42. You’re live!
    • The URL for your Simmons web space is http://web.simmons.edu/~username/
    • Add the name of your file to the URL
    • http://web.simmons.edu/~username/ lastname.html
    • In Web terms, the folder /public_html is a known as a virtual directory. It “maps” to your /~username folder
    Tech Lab Tip To make everything on your page work properly, you must upload ALL your files including your .html document and any files you reference in your .html document, images, .pdfs, etc.
  • 43. Troubleshooting
    • Don’t panic
    • Chocolate might be helpful
    • Then
      • Check your public_html folder
      • Check your file names (spaces & capitalization)
      • Is everything there? Are you sure ?
      • Proofread your tags
    There is also plenty of helpful documentation on the Tech Lab Download Center – try the “Creating Web Pages” section: http://my.simmons.edu/gslis/techlab/howto-info.shtml
  • 44. Want to know more?
    • On-line tutorials:
      • HTML Online Tutorial
      • http://www.w3schools.com/HTML/default.asp
      • XHTML Online Tutorial
      • http://www.w3schools.com/xHTML/default.asp
    • Books:
      • HTML for the World Wide Web, 5th Edition with XHTML and CSS: Visual QuickStart Guide by Elizabeth Castro
      • Eric Meyer on CSS: Mastering the Language of Web Design by Eric A. Meyer
      • Designing with Web Standards by Jeffrey Zeldman
      • Don't Make Me Think: A Common Sense Approach to Web Usability by Steve Krug
  • 45. GSLIS Toolkit coming soon!
    • XHTML
      • Defines the structure of the page
      • Identifies paragraphs, images, etc.
    • CSS
      • Defines the look of the page
      • How should <strong> look?
      • What font and color should <h1> be?
      • http://www.csszengarden.com/
  • 46. Need more help?
    • Contact Dixie
      • Call 617.521.2828
      • Email dixie@simmons.edu
      • Skype DixieAtSimmons
    • Hours
      • Sundays (not at MHC) Chat & Skype 1-4 PM
      • Monday Chat & Skype 9-11 PM
      • Monday-Thursday 8:30 AM-4:30 PM