From the course: Dreamweaver CS6 Essential Training
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Wrapping tags - Dreamweaver Tutorial
From the course: Dreamweaver CS6 Essential Training
Wrapping tags
Occasionally when writing code you'll need to take existing content, and wrap it inside of another parent tag. Well, this is usually fairly simple. It's sometimes rather difficult to do manually and still keep track of exactly where the proper position for opening and closing tags needs to be. Let's take a look at how Dreamweaver can help us out when we need to wrap content in our tags. So I have the Index file open this time from the 05_04 folder, and the first thing I'm going to do is scroll down to about line number 51. Down in this area we have an unordered list that has a calendar of events. Now you'll notice that the structure of the final list item is little different than these, in the fact that it lacks the span tag that identifies those numbers as belonging to the date class, so that's what we need to add. Well, we could go ahead and do it the hard way, which would be to go ahead and put the opening span tag on this side, and then go back over on the side of the day and…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.