HTML and CSS Practical Examination_Questions_Powered_by_Tec_with_Amey
HTML and CSS Practical Examination
Subject: Computer / Information Technology
Total Marks: 10 per set
Software: Notepad / Notepad++
Instructions: Write HTML and CSS code, save the file with the .html extension, and open it in a web browser. Use internal CSS with the <style> tag inside the <head> section.
Set 1 – Introduction to HTML and CSS
Create a webpage titled “My Introduction”. Display your name as a heading and write five sentences about yourself.
Use CSS to set a light blue background, change the heading colour to dark blue, and centre-align the heading.
Set 2 – Text Formatting
Create a webpage titled “My School” with a heading and a paragraph about your school.
Use CSS to change the font family, font size and text colour. Make the heading bold and underlined.
Set 3 – Background Colours
Create a webpage titled “Save Environment” with a heading and a paragraph about protecting trees.
Use CSS to set a light green background, a green heading and a dark green paragraph border.
Set 4 – Lists and CSS
Create a webpage titled “My Favourite Foods” and display five food items in an unordered list.
Use CSS to change the list text colour, font size and background colour.
Set 5 – Borders and Spacing
Create a webpage titled “My Hobbies” with a heading and a list of four hobbies.
Use CSS to apply a border around the content, add padding and set a margin around the box.
Set 6 – Images and CSS
Create a webpage titled “My Favourite Animal”. Insert an image of your favourite animal and write three sentences about it.
Use CSS to set the image width to 250 pixels, add a border and centre-align the image.
Set 7 – Tables and CSS
Create a webpage titled “Student Marksheet”. Make a table with three columns: Student Name, Subject and Marks. Enter five records.
Use CSS to add borders, colour the table heading, and centre-align the text.
Set 8 – Links and CSS
Create a webpage titled “Educational Websites” with hyperlinks to Google, Wikipedia and Khan Academy.
Use CSS to change the link colour and remove the underline. Add a different colour when the mouse hovers over a link.
Set 9 – Class Selector
Create a webpage titled “Importance of Education” with two headings and two paragraphs.
Use a CSS class named
.highlightto give one paragraph a yellow background and bold text.
Set 10 – Mini Website Project
Design a webpage titled “My City” with the city name, a paragraph, an image of a famous place and a list of three tourist attractions.
Use CSS to add a background colour, style the heading, add a border around the image and change the font style of the paragraph.

Comments
Post a Comment