M1D7: CSS

Categories: Study Notes

Display and Positioning: Z-index The z-index CSS property can be used to specify the z-order of these overlapping elements. Overlapping elements with a larger z-index cover those with a smaller one. I need to understand Z-index more. To watch: Additional Topics on CSS For more information on CSS background images, see the MDN documentation here. For … Read More

M1D5: CSS Part 2

Categories: Study Notes

Linking CSS Link External Stylesheets t is a self-closing tag and requires the following three attributes: Note that in HTML5, you actually don’t have to specify type=”text/css” here. @import – links a CSS file to another CSS file. You can have all your styles living inside one main CSS file, or you can use @import to break your styles … Read More

M1D5: CSS

Categories: Study Notes

Tags Connects the CSS to the HTML. For example: HTML CSS Classes HTML elements can have more than just a tag name; they can also have attributes. One common attribute is the class attribute. It’s also possible to select an element by its class attribute. HTML CSS IDs For situations where you need more specificity … Read More

M1D4: HTML

Categories: Study Notes

Text Elements An HTML element is a unit of content in an HTML document that is formed using HTML tags. The basic structure of an element is composed of 4 key items, one of which is optional. 2 Types of HTML Elements Block elements – meant to structure the main parts of your page, by dividing … Read More