Coding task · HTML and CSS course · Module 3: CSS Basics

First Page with CSS Styles

Time to connect HTML with CSS for the first time! Imagine you already have the bare skeleton of a temple (HTML), and now you will decorate it with paints and gold (CSS). Add internal CSS in a <style> tag inside <head> and create your first decorated Egyptian page!

Task

Create a complete HTML page about Ancient Egypt with a heading <h1>, a paragraph <p>, and an image <img>. In the <style> section, add CSS: change the heading color to dark gold (#7A5C00), the page background color to sandy (#F4E4C1), and the paragraph text to dark brown (#4A3C2A). Use h1, body, and p selectors.