Day 1 Worksheet: HTML & CSS Basics
1. HTML Basics
- Write the basic structure of an HTML document.
- Create an unordered list with three of your favorite hobbies.
- Add an image to an HTML page using the <img> tag. Use any placeholder image link.
2. CSS Basics
- Use CSS to change the background color of a webpage.
- Write CSS rules to:
- Center-align all text.
- Set the font color to blue and font size to 20px for all paragraphs.
- Experiment with applying inline, internal, and external styles.
3. Mini Project: About Me Page
Create a basic "About Me" webpage:
- Include your name, a short bio, and an image of your choice.
- Style the page with external CSS. Ensure:
- The background color of the page is light gray.
- Your name is displayed in bold and larger font size.
- Add padding around the text and image.