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

  1. Create a webpage titled “My Introduction”. Display your name as a heading and write five sentences about yourself.

  2. Use CSS to set a light blue background, change the heading colour to dark blue, and centre-align the heading.

Set 2 – Text Formatting

  1. Create a webpage titled “My School” with a heading and a paragraph about your school.

  2. Use CSS to change the font family, font size and text colour. Make the heading bold and underlined.

Set 3 – Background Colours

  1. Create a webpage titled “Save Environment” with a heading and a paragraph about protecting trees.

  2. Use CSS to set a light green background, a green heading and a dark green paragraph border.

Set 4 – Lists and CSS

  1. Create a webpage titled “My Favourite Foods” and display five food items in an unordered list.

  2. Use CSS to change the list text colour, font size and background colour.

Set 5 – Borders and Spacing

  1. Create a webpage titled “My Hobbies” with a heading and a list of four hobbies.

  2. Use CSS to apply a border around the content, add padding and set a margin around the box.

Set 6 – Images and CSS

  1. Create a webpage titled “My Favourite Animal”. Insert an image of your favourite animal and write three sentences about it.

  2. Use CSS to set the image width to 250 pixels, add a border and centre-align the image.

Set 7 – Tables and CSS

  1. Create a webpage titled “Student Marksheet”. Make a table with three columns: Student Name, Subject and Marks. Enter five records.

  2. Use CSS to add borders, colour the table heading, and centre-align the text.

Set 8 – Links and CSS

  1. Create a webpage titled “Educational Websites” with hyperlinks to Google, Wikipedia and Khan Academy.

  2. 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

  1. Create a webpage titled “Importance of Education” with two headings and two paragraphs.

  2. Use a CSS class named .highlight to give one paragraph a yellow background and bold text.

Set 10 – Mini Website Project

  1. 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.

  2. 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

Popular posts from this blog

india vs netherlands | "India vs Netherlands 2026: Economy, Education, Jobs, Tourism & Quality of Life Compared" | INDIA VS NETHERLAND

EduFlourish: Empowering Educational Excellence

TecwithAmey Enters the Gaming World with Three Exciting Browser Games