600 likes | 726 Views
Luke E. Reese Biosystems & Ag. Engr. reesel@msu.edu www.msu.edu/~reesel 517-353-3258. Internet Publishing / Dreamweaver. Definitions. Web page versus Web site Homepage The base hypermedia document for an individual or organization (usually index.htm or index.html) HTML () Plain Text
E N D
Luke E. Reese Biosystems & Ag. Engr. reesel@msu.edu www.msu.edu/~reesel 517-353-3258 Internet Publishing / Dreamweaver
Definitions • Web page versus Web site • Homepage • The base hypermedia document for an individual or organization (usually index.htm or index.html) • HTML () • Plain Text • <Tags> • .html, .htm extensions • XHTML (eXtensible HyperText Markup Language) • Different supported <Tags> • Backwards compatibility • CSS
Server / Browser / HTML files • Server • Serves HTML • Host name (domain) • Unique filename(s) • Browser • Requests HTML • Displays HTML • HTML Editor (Dreamweaver) • Creates and edits HTML
Browser Assumptions • Mozilla Firefox 1.5-3.x • Internet Explorer 4.x – 8.x • Chrome 0.x • Safari 4.x • Designed for screen not printing • Screen resolution • 640 x 480, 800 x 600, 1024 x 768, 1280 x 1024 • Fonts • Computer / browser controlled
Files / Filenames • Recommended file naming syntax • No spaces • No capitalization if possible • No special characters (i.e., #) • Short but descriptive • Organize all files in a folder • May use subdirectories (folders) under root • index.html or index.htm • Default (can replicate in each directory) • Table of contents • Html is default if you have both
Your URL • www.msu.edu/~NetId/directory/filename • /web is not included in your URL • /directory is only there if you have a sub folder • Filename must be exact match including the file extension • Everything to the right of the domain is case sensitive • P:\web\... is NOT your URL! • Default filename index.html • Link to other files from index.html
Dreamweaver Html Editing
Formatting Assumptions • Formatted for screen (resolution) • No page breaks (use pdf) • No tabs or indentions (use tables) • No columns (use pdf or tables) • Fonts computer specific (use pdf for fixed format) • Copy and Paste will not always work • Graphics are linked files • Graphic file formats • .jpg • .gif • .png
Basic Homepage Text and Tags <HTML> <HEAD> <TITLE> The title for my simple homepage that appears on the top browser status bar.</TITLE> </HEAD> <BODY> <H1> My homepage</H1> <P> This is my homepage where you can learn about my selected AEE 401 client.</P> </BODY> </HTML>
Dreamweaver CS3 - Labs • Start • All Programs • Development Apps • Dreamweaver CS3 • Adobe Dreamweaver CS3
Tools and Panels (Dock or Floating) • Window Menu (on/off) • Insert • Properties • Files
View Menu • Code • Design • Code and Design (Refresh)
View Menu (Rulers and Grid) • Rulers (Pixils) • Grid (*Snap To)
Resolution (Design) • Edit window must be minimized
Text Properties P • Fonts • Fixed Width • Variable Width • Family • Size (relative) • Color (web safe) • Enhancement (avoid underline) • Bullet and numbered lists • Indent / Outdent • Justification • Link
HyperLinks • Two parts • Source document text or image • Link (location, file, target, mailto)
Hyperlink Types • Internal file or location on same server (relative reference) • filename • External file or location (absolute reference) • http:// • Target/Anchor (internal to the file) • #name of defined target • Self addressed stamped email • mailto:emailaddress
File Extensions • .htm or .html • Automatic load • . jpg, .gif, .png • Automatic load • pdf • Loads reader plugin if on computer • .doc, .ppt, .xls • IE – loads miniviewer • Netscape – open or save • .exe or other • Open or save
Images • Insert <img src=> • Insert menu • Image • Image button • Image must exist and reside locally (relative reference) or may be linked (absolute reference) • Cannot copy and paste an image from another application
Image Properties Palette • Size (pixils) • Resize carefully and maintain aspect ratio • Placement and text wrap • Use table • Limited editing CS3 • Alt tag • Types • .jpg • .gif • .png
Tables • Insert • Insert menu • Table • Table button
Table Uses / Properties • Uses • Spacing • Alignment • Borders (off or 0 for spacing/alignment) • Embed • Properties • Table <table> • Row <tr> or <th> • Cell <td>
Insert Rows/Merge Cells • Inside a row • Right mouse click • Select Table
Horizontal Rule • Insert -> HTML -> Horizontal Rule <hr>
Page Properties • Page title • Page background • Color • Image
Tips • Browser File menu • Save As or Save Page As • Right mouse button • Images • Save As • Text menu – Check Spelling • Line Break <Shift> <Enter>
Check Spelling • Text menu • Check Spelling (Shift + F7)
Cascading Style Sheet • Inline or External File • Separates formatting from content • External file can be applies to multiple files (e.g., entire site) • Tag, Class or Advanced
Text Link • Type Text • Use Link field on Properties Palette
Flash Text • Insert Menu –> Media –> Flash Text
Flash Button • Insert Menu –> Media –> Flash Button
Rollover Image • Insert menu -> Image Object -> Rollover Image
Spry Menu • Insert menu -> Spry -> Spry Menu Bar • Horizontal or Vertical
Spry Menu • Hierarchy • CSS Style Sheet
Local versus Server Review • Local • A:, C:, Zip, Jump Drive, CD-ROM • Available only to that computer • Remote • Server software • Available 24/7 • Available to all Internet users • Tip • Create file structure on local in one root folder (relative reference) • Replicate on remote
Filenaming Review • CaSe SensitivE • Suggest all lower case • Short and as descriptive as possible • No spaces (earlier versions of Netscape may not load file
Define Site • Set up and define folder on local system • Set up server location • Set up transfer protocol (ftp)
Define Local ** Put ALL web site files in this folder or subfolders