CSS Coding Assignment
Question 1
Create a webpage where:
• The main heading uses Inline CSS.
• The subheading uses Internal CSS.
• The paragraph uses External CSS.
• Apply different colors to all elements.
Question 2
Create a webpage with:
• Two headings and two paragraphs.
• Use Inline CSS for the first heading.
• Use Internal CSS for the second heading.
• Use External CSS for both paragraphs.
• Apply different colors to each element.
Question 3
Design a Student Profile page containing:
• Student Name
• Course Name
• College Name
Use Inline CSS for Student Name, Internal CSS for Course Name, and External CSS for College
Name.
Question 4
Create a webpage with:
• A title
• A subtitle
• A description
Apply Inline CSS to the title, Internal CSS to the subtitle, and External CSS to the description using
different colors.
Question 5
Create a webpage where the same H1 element receives:
• One color from External CSS
• Another color from Internal CSS
• A third color from Inline CSS
Run the code and observe the final color displayed.