Lab Assignment – II (CSS)
Illustrate the use of background properties in CSS (for image). • Code
Construct a web page with four paragraph and style using CSS. • Code
Design a web page with six images and style them using external CSS. • Code
Make a nested list using internal CSS. • Code
Make a web page having 3 rows and 2 columns with all the hyperlinks and style it using external CSS. • Code
Design an html form to demonstrate the 10 different types of controls generated using INPUT tag. Style the form as: • Code
Set the background color of textbox yellow when it is focused.
Change the text color blue to textbox.
Increase the height of combo options when it is checked.
Set the border color red if the input is invalid in textbox textarea.
Set green border to valid input.
Design the form using fieldset.
Design the given table and style as: • Code
Class AClass BClass C
Class D
Set the border of any style and color.
Set width of all Classes 600 pixel and height 550 pixel.
Set different background color for all classes.
Every text color should be different.
Display Class C and Class D in uppercase and remaining in lower case.
Design a horizontal menu of any five options and style as: • Code
Set border for all links.
Set different background color and text color.
Change the font color and increase the font size when mouse over it.
Remove the underline from link.
Change all the default behaviour of links.
Develop a web page with a paragraph and add some contents before the paragraph with red color and yellow background using CSS. • Code
Illustrate the concept of pseudo elements with example. (::after, ::first-letter, ::selection, ::first-line) • Code
Design following list using html and CSS: • Code
Mouse
Keyboard
Monitor
Printer
Touchpad
Last updated