• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 10. Using Dreamweaver Behaviors > An Introduction to Behaviors

An Introduction to Behaviors

To understand how behaviors in Dreamweaver work is to understand the fundamentals of JavaScript. Similar to CSS, JavaScript code is written within the <head> tag of your web page. Unlike CSS, which is written within a <style> declaration block, JavaScript is written within a <script> declaration block complete with the language attribute defining the language to be written in the script. A typical declaration block for a page might look something like this:

<html>
<head>
<title>Sample JavaScript</title>
<script language="JavaScript">
</script>
</head>
<body>
</body>
</html>


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint