Cs Practicals
Cs Practicals
4.Observe the following webpage and write HTML code to generate it.
Note the following points while generating the Webpage:
● Background colour of the page is yellow
● Link colour is black and visited colour is green
● Font style for the page is arial
● Heading of the page is maroon
● Image used is elephant.png
● Table border is 2px
● Use link
○ For sri lankan elephant as one.html
○ For sumatran elephant as two.html
○ For borneo elephant as three.html
○ For african elephant as four.html
Email id for bottom message is [email protected]
5.Write the HTML code to generate the following output:
Note the following points while generating the webpage :
(i) Link colour is green, active link colour is blue and visited link colour is red.
(ii) Title of the page is "Dances of India".
(iii) Heading of the page is maroon.
(iv) Background colour of the page is yellow.
(v) Image used is "dance.png".
(vi) Caption of the table is blue.
(vii) Table border is blue and of size 2.
(viii) The 3 links are one.html, two.html and three.html.
(ix) The email id for contact us is [email protected]
6. Write a HTML code to create a hospital registration form.
(BY VERIFYING GIVEN OUTPUT)
7. Write a HTML coding to Create a form as given below by using different form tags
and attributes.
(BY VERIFYING GIVEN OUTPUT)
8.Write a html code to demonstrate the working of inline styles.
(BY VERIFYING GIVEN OUTPUT)
9.Write html coding to illustrate the linking of external style sheets to a web page.
(BY VERIFYING GIVEN OUTPUT)
10. Write HTML code to display page as shown below. The heading”Quote of the
Day” should be in H1 tag form with text properties as(center-aligned,underlined and
Uppercase) and the actual quote should be in p tag form with text properties(30 px
text indent and 15px word spacing). The list items should always have first letter
capital (Capitalized)and 3px letter spacing.
You can set additional properties to give desired font/colour etc..
Control their TEXT PROPERTIES through CSS file.