Dreamweaver CS5 All-in-One For Dummies

Dreamweaver CS5 can greatly improve productivity and change the way you build Web sites. Knowing all the important Dreamweaver CS5 keyboard shortcuts and common HTML coding rules can boost your efficiency as a designer even more. Find your way around the Dreamweaver workspace with easy-to-remember keyboard shortcuts and common coding hints so you can work faster and smarter, and build your Web sites with greater ease.






>


>


Save Time with Dreamweaver CS5 Keyboard Shortcuts


Using Dreamweaver CS5 is so much faster when you know the shortcuts. Use these keyboard shortcuts in Design, Split, and Code views to quickly create documents, perform editing tasks, hide and show workspace features, apply simple formatting, edit code, make selections, access Dreamweaver help, preview pages in Live View and in a browser, and more.
























































































































































































































































Keyboard CommandsPC ShortcutMac Shortcut
Create a new documentControl+NCommand+N
Open an existing documentControl+OCommand+O
Save an open documentControl+SCommand+S
Close an open documentControl+WCommand+W
Close all open documentsControl+Shift+WCommand+Shift +W
Exit/Quit DreamweaverControl+Q or Alt+F4Command+Q or Opt+F4
UndoControl+Z or Alt+BackspaceOption+Delete
RedoControl+Y or

Control +Shift+Z
Command+Y or Command+Shift+Z
CutControl+X or

Shift+Delete
Command+X or

Shift+Delete
CopyControl+CCommand+C
PasteControl+VCommand+V
Paste specialControl+Shift+VCommand+Shift+V
Select allControl+ACommand+A
Find and replaceControl+FCommand+F
Open the Preferences panelControl+UCommand+U
Show/hide rulersControl+Alt+RCommand+Option+R
Show/hide guidesControl+;Command+;
Show/hide visual aidsControl+Shift+ICommand+Shift+I
Show/hide gridControl+Alt+GCommand+Option+G
Edit page propertiesControl+JCommand+J
Refresh Design viewF5F5
Make selected text boldControl+BCommand+B
Make selected text italicControl+ICommand+I
Apply paragraph formatting to selected textControl+Shift+PCommand+Shift+P
Apply heading formatting (H1–H6) to selected textControl+1 through 6Command+1 through 6
Add new paragraphReturnReturn
Add a line break <BR>Shift+ReturnShift+Return
Insert a nonbreaking spaceCommand+Shift+SpacebarCommand+Shift+Spacebar
Move object or textDrag selection to new locationDrag selection to new location
Copy object or textControl-drag selection to new locationOption-drag selection to new location
Select a wordDouble-clickDouble-click
Select a row or text blockTriple-clickTriple-click
Insert imageControl+Alt+ICommand+Option+I
Insert tableControl+Alt+TCommand+Option+T
Run a spell checkShift+F7Shift+F7
Open the Help windowF1F1
Zoom inControl+=Command+=
Zoom outControl+-Command+-
Preview in primary browserF12Option+F12
Preview in secondary browserShift+F12 or Control+F12Command+F12
Live ViewAlt+F11Option+F11
Freeze JavaScriptF11F11
InspectAlt+Shift+F11Option+Shift+F11
Code NavigatorControl+Alt+NCommand+Option+N
GetControl+Shift+DCommand+Shift+D
PutControl+Shift+UCommand+Shift+U
Check inControl+Alt+Shift+UCommand+ Option+Shift+U
Check outControl+Alt+Shift+DCommand+ Option+Shift+D




>



>


>


HTML, CSS, and JavaScript Code Hints


As a Web designer, you use some bits of HTML, CSS, and JavaScript code frequently but not often enough to commit to memory. The following HTML code, CSS style, and JavaScript hints are handy when you are adding special elements such as null links, meta tags, and entities to your pages. Use these HTML, CSS, and JavaScript code hints in Code view, the Properties inspector, and your CSS style sheets.































































































































HTML Code HintCode Shortcut
Create a null link# or javascript:; or javascript:void(0) as in<a
href="#">link</a>

<a href="javascript:;">link</a>

<a href="javascript:void(0)">link</a>
Create named anchor linkLink to Target

<a href="#anchorname">link</a>

Target

<a name="anchorname"></a>
Create link to named anchor in another page<a href="otherpage.html#anchorname">link</a>
Insert line break<br />
Close window JavaScript<a href="javascript:window.close();">Close This
Window</a>
Revisit after x days meta tag<meta name="revisit-after" content="5 days" />
No cache meta tag<meta http-equiv="pragma" content="no-cache">
Meta link to home page<link rel="Index" href="index.html" />
Meta link to sitemap page<link rel="Site Map" href="sitemap.html" />
Meta link to shortcut icon<link rel="Shortcut Icon" href="favicon.ico" />
Meta link to shortcut icon using GIF instead of ICO<link rel="Shortcut Icon" type="image/gif"
href="favicon.gif" />
Link to external JS file<script src="myjsfile.js"
type="text/javascript"></script>
Link to external CSS<link rel="stylesheet" type="text/css" href="css/ie.css"
media="screen"/>
Import@ link to external CSS<style media="all" type="text/css">

@import "css/all.css";

</style>
CSS link for IE browsers less than IE 7<!--[if lt IE 7]><link rel="stylesheet"
type="text/css" href="ie.css"
media="all"/><![endif]→
Insert an image with ALT attribute<img src="images/myfile.png" alt="My File" />
Empty ALT attribute for image<img src="images/myfile.png" alt="" />
Entity to add blank space&nbsp; or &#160;
Entity to add copyright&copy; or &#169;
Entity to add trademark&trade; or &#153;
Entity to add ampersand&amp; or &#38;
Add NoScript tags<noscript>…
Link targets_blank

_new

_self

_parent

_top
Apply CSS custom style with SPAN tags<span class="stylename">…
Comment tags in HTML and JavaScript<!-- Your comment here //→
Comment tags in CSS/* Your comment here */
Structure of a CSS tag redefine styletag {

    attribute: value;

}
Structure of a CSS ID style#ID {

    attribute: value;

}
Structure of a CSS custom style.stylename {

    attribute: value;

}
CSS for link stylesa:link {

    attribute: value;

}

a:visited {

    attribute: value;

}

a:hover {

    attribute: value;

}

a:active {

    attribute: value;;

}




>






>
dummies


Source:http://www.dummies.com/how-to/content/dreamweaver-cs5-allinone-for-dummies-cheat-sheet.html

No comments:

Post a Comment