Task:1
Design sample form and use the below selectors to apply the styles
Selectors:
1. Element Selector: Apply this to a div and input element
2. ID: apply this to button element
3. Class: apply this to table cells
4. Attribute: apply this to <a> tag
5. Pseudo class
Steps:
1. Create a div and apply background-color.
2. Create a form with in the div.
3. Create a table with in the form and align it center.
4. Apply cellspacing and cellpadding.
5. Create two input text fields with submit button.
6. Insert a image using img tag and create a anchor tag with an hyperlink.
7. By using name, id, class apply some css properties.
Code:
Output: