Behaviour is a series of actions in a web page.Through these actions, users can interact with the web page, or perform a task.Generally speaking, an action should consist of an event and an action. For example, when a user moves the mouse over an image, an event is generated. If the image changes at this time, an action actually occurs. 1. Action Actions usually consist of a piece of JavaScript code, which can be used to complete corresponding tasks, such as opening the browser, playing sounds and videos, etc.In Dreamweaver, you can use the built-in behavior of Dreamweaver to add JavaScript code to the page instead of writing it yourself.Of course, you can also modify the existing code to make it more suitable for your own needs. 2. Events Events are usually defined by browsers. They can be attached to various page elements or HTML tags.Usually an event is always for a page element or tag.For example, onMouseOver, onMouseOut, and onClick events will occur on hyperlinks in most browsers. When the mouse pointer moves over the link, the linked onMouseOver will occur. Event: When the mouse pointer moves outside the link, the linked onMouseOut event will occur. When the link is clicked, the linked onClick event will occur.Combine events and actions to form a behavior. For example, associate the onClick event with a piece of JavaScript code, and you can execute the corresponding JavaScript code when you click the mouse. Generally, the process of event generation is called triggering.Not all actions require user intervention. For example, you can specify an action to be executed every 10 seconds. Of course, this is actually triggered by an event, but this event is not generated by the user's own behavior.Sometimes there are multiple actions associated with an event, that is, when an event occurs, multiple actions will be executed.In DreamweaverWebsite constructionYou can specify the sequence of these actions to achieve the desired results.