190 likes | 260 Views
Today’s Agenda. Course Facilitator Introduction Announcements Quiz Servers and Clients URLs Dreamweaver Setup HTML Introduction – Part 2. Web Design: Basic to Advanced Techniques. About the Instructor. Programs. Languages. HTML CSS JavaScript (Vanilla, Prototype, Scriptaculous)
E N D
Today’s Agenda • Course Facilitator Introduction • Announcements • Quiz • Servers and Clients • URLs • Dreamweaver Setup • HTML Introduction – Part 2 Web Design:Basic to Advanced Techniques
About the Instructor Programs Languages HTML CSS JavaScript (Vanilla, Prototype, Scriptaculous) PHP SQL (MySQL, PostgreSQL, SQLite) Ruby (Ruby on Rails) ActionScript 2.0 & 3.0 Python C Java Scheme Bash Machine, Assembly, … • Alexander Wong (3rd Year EECS Major) • Freelance Web and Graphics Designer • Self-taught • Recently: Exploring Ruby on Rails • Looking into: Internet startups • Photoshop • Flash • Dreamweaver • ImageReady Web Design:Basic to Advanced Techniques
Previous Work • iForged International and DTM Kreuz • French Bros. • Comfort Suites (Power of CSS) • BearStartup (Flash vs. JavaScript) Web Design:Basic to Advanced Techniques
Announcements • DeCal website • Profile picture • Instant messaging • Roll • Submitting HW • Enrollment Update • Software Seekers • Mini Project #1 released Web Design:Basic to Advanced Techniques
HTML - Quiz #1 http://decal.aw-industries.com Web Design:Basic to Advanced Techniques
Servers and Clients DNS Lookup Server 2. Browser google.com = 74.125.19.147 3. 74.125.19.147/logo.gif logo.gif 1. http://google.com/logo.gif 5. 4. Client Web Server Web Design:Basic to Advanced Techniques
URLs Hostname File http://www.royaljadehouse.com/images/Contact.jpg Prefix Domain Name Extension Protocol Path URLs specify the location of files on the web. Root (http://www.royaljadehouse.com) is the base directory pointed to by the domain name Web Design:Basic to Advanced Techniques
Absolute vs. Relative URLs • <imgsrc=“URL” /> and <a href=“URL”></a> • Absolute URL • http://frenchbros.com/AboutUs.php • http://frenchbros.com/IMAGES/ABOUTUS/IMAGES/a.gif • Root Relative URL • /IMAGES/ABOUTUS/IMAGES/a.gif • Relative URL • IMAGES/ABOUTUS/IMAGES/a.gif Web Design:Basic to Advanced Techniques
Dreamweaver Setup Create “WDD Site” folder on Desktop 2. Create “IMAGES” sub-folder Web Design:Basic to Advanced Techniques
Dreamweaver Setup 3. Start Dreamweaver 4. Click Site>Manage Sites… on top bar 5. Click New>Site Web Design:Basic to Advanced Techniques
Dreamweaver Setup 6. Enter “Web Design Decal” in site name. Click the folder icon next to “Local root folder” and navigate to “WDD Site” on Desktop. Click the folder icon next to “Default images folder” and navigate to “IMAGES” sub-folder 7. Enter http://aw-industries.com/cs98_xx/ For “HTTP address” Web Design:Basic to Advanced Techniques
Dreamweaver Setup 8. On the left side click “Remote Info” and select “FTP” from the “Access” dropdown menu 9. Enter “decal.aw-industries.com” for “FTP host”. Enter “/public” for “Host Directory”. Enter “cs98-xx” for “Login”. Enter your password. Check the box marked “Use passive FTP”. Check the box marked “Automatically upload files on save”. Web Design:Basic to Advanced Techniques
Dreamweaver Setup 10. Click “Test”. You should see the message above. If you don’t please check your steps. 11. Click “OK” on the dialog and “OK” on the configuration window to save your settings. Dreamweaver is now properly configured and will upload all working documents to the web server on save. You can view your publically accessible pages via http://aw-industries.com/cs98_xx Web Design:Basic to Advanced Techniques
Web Design: Spring 2010 Tuesdays 7-8pm 200 Sutardja-Dai Hall Basic to Advanced Techniques HTML Introduction – Part 2 Web Design:Basic to Advanced Techniques
HTML Document Structure <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8” /> <title>Untitled Document</title> </head> <body></body> </html> Web Design:Basic to Advanced Techniques
Doctype • <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> • Tells the browser what type of document it is and by which rules to follow when rendering the page • XHTML 1.0 Strict • XHTML 1.0 Transitional • XHTML 1.0 Frameset • Not an actual HTML element Web Design:Basic to Advanced Techniques
html Element • <html xmlns="http://www.w3.org/1999/xhtml"> • </html> • xmlns is a required attribute and should be set to what appears above • Later versions of xhtml may allow custom namespaces Web Design:Basic to Advanced Techniques
head Element • <head></head> • Place for meta data • And <meta /> tags • Description • Keywords • Title of page • <title></title> • Content Type • <meta http-equiv="Content-Type" content="text/html; charset=UTF-8” /> • Text/html • Image/jpeg • Video/mpeg Web Design:Basic to Advanced Techniques
body Element • <body></body> • Where actual website content goes. • All the tags from our last lecture should be used here. Web Design:Basic to Advanced Techniques