Today 1/28/2020 We review our previous works in web design for the finals. These are some of things to look up!
- block v inline tag
- block tags: h1-h6, p, ol, ul, li, tr, table, form, div
- inline tags: a, strong, b, em, i, td, th, span
- class & id attributes (HTML & CSS)
- both/either may be applied to any and all HTML elements if you wish
- <div id=”div-id” class=”class-id”>stuff</div>
- ID is like your class ID: it’s unique for each element (if you have them)
- each student has a unique ID and no two students share the same ID
- Each ID value must be unique on that particular document/file
- ID is unique
- In CSS: #div-id { font: sans-serif; }
- Class groups elements and individual elements may share the same class
- Just like you as a student belong to a class (freshman, sophomore, junior, senior)
- In CSS: .class-id { font: serif; }
- the box model includes: width, padding, border, margin (top, right, bottom, & left)
- Use the Inspector or click on Developer Tools
- Hover over or click on any HTML element
- Click “Computed” on the right to see the various box model values
- CSS frameworks
- Bootstrap and Foundation
- You need to link to it first
- You apply your styles by adding various class attributes to your elements
- If you followed along, I have the assignment in Web Design set up
- You can turn in just your CodePen
- You could write a WordPress post on it and send me the link to your post (make sure it’s live)