Lessons 3, 4, 5, 6, and 7 of “Advanced HTML and CSS”

Today I finished lessons 3, 4, 5, 6, and 7 of Advanced HTML and CSS. Lesson 3 taught me how to embed websites, which means to create a smaller window on my page that shows a preview of another website. Lesson 4 taught me how to use the tag <div> to style my websites. Lesson 5 taught me how to use the tag <span> which is the exact same as the <div> tag, except it doesn’t create any extra line breaks. Lesson 6 taught me how to combine CSS selectors. For example: I could put h1.header instead of .header to only affect <h1> tags with the class header instead of all h1 tags or all tags with the class header.  Lesson 7 taught me about the DRY method, which helps keep your code (especially your CSS code) compact by aloowing you to merge multiple rules together with commas.

8,955 Replies to “Lessons 3, 4, 5, 6, and 7 of “Advanced HTML and CSS””