From the course: Dreamweaver CC: Responsive Design with Bootstrap 4
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Use semantic markup - Dreamweaver Tutorial
From the course: Dreamweaver CC: Responsive Design with Bootstrap 4
Use semantic markup
- [Instructor] A problem with building Bootstrap pages in Dreamweaver is that just about every type of content is wrapped in a div. Let's just take a look in the DOM panel. I've currently got selected the nav bar, and that's actually in an HTML5 semantic element, nav, but if we look at everything else, that's all in divs. So, here is the container with the rest of the page in it, that's a div, inside there is a row, which is a div. Inside there is a column, which is also a div, and then here's the row that contains all of the text content. If we expand that, all of the columns inside there are also divs. Once you start getting more and more content in your page, it can make it really difficult to find your way around. One solution is to assign an ID to important elements. Even better, in my opinion, is to use IDs in combination with HTML5 semantic elements. The Bootstrap grid is controlled by the classes that are applied to an element, not by the type of element itself. Now, I plan to…
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.
Contents
-
-
-
-
-
-
(Locked)
Resize and duplicate columns5m 29s
-
(Locked)
Flex layout: Equally distributed columns5m 18s
-
(Locked)
Use semantic markup3m 41s
-
(Locked)
Paste formatted text4m 50s
-
(Locked)
Insert fixed-size images5m 15s
-
(Locked)
Flex layout: Centered columns4m 57s
-
(Locked)
Paste into an empty column6m 14s
-
(Locked)
Style the feature section3m 54s
-
(Locked)
-
-
-