HTML/CSS Course – Day 5 – Inheritance & the Universal Selector
Inheritance in CSS is simple to understand. If a parent tag has some styling, then every child tag inside will try to inherit the styling of that parent tag if…
Inheritance in CSS is simple to understand. If a parent tag has some styling, then every child tag inside will try to inherit the styling of that parent tag if…
In CSS, it is possible to have multiple selectors and declarations applying to elements of CSS styling, but what happens if there are conflicting styling selections? Simple: There’s a priority…
For styling hyperlinks in CSS, you never want to target the <a> tag itself; instead you want to target the attributes of the <a> tag for styling. There are 4…
It is possible to make Pseudo-Classes in CSS, by putting a tag name such as <li>, then a colon, then putting something like “first-child” afterwards. Putting that example together would…
In CSS, there are three options for using colors: There’s the RGB option, the RGBA option, and the hexadecimal option. RGB stands for Red, Blue, and Green, and the “A”…
Classes and IDs are very helpful in CSS, as they allow you to target and apply styling to specific or multiple tags without selecting the general tag. Classes and IDs…
CSS has 3 ways to stylize HTML: Inline, Internal, and External. Inline has the CSS directly inside the HTML tags, Internal has the CSS inside a <style> tag inside the…
Aside – A tag listed as <aside> and has a closing tag. Its used to separate a segment of the website away from the main content. Requires some CSS to…
Page Structuring – The <header>, <nav>, and the <article> tag. All of them don’t have a use yet so far in this course, but they will soon. They just help…
Images – Uses the “<img>” tag, and doesn’t have a closing tag. Basic attributes of the <img> tag are “src” (for the link name of the display image), “alt” (for…