0% found this document useful (0 votes)
2 views6 pages

Cs Practicals

The document outlines various HTML coding tasks, including creating ordered and unordered lists, generating web pages with specific styles and elements, and constructing forms. Each task specifies requirements such as link colors, page titles, image usage, and table properties. The document emphasizes verifying outputs for correctness in each coding exercise.

Uploaded by

pastudents023
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views6 pages

Cs Practicals

The document outlines various HTML coding tasks, including creating ordered and unordered lists, generating web pages with specific styles and elements, and constructing forms. Each task specifies requirements such as link colors, page titles, image usage, and table properties. The document emphasizes verifying outputs for correctness in each coding exercise.

Uploaded by

pastudents023
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Practical questions

1.Write a HTML code to create an ordered and unordered list in HTML.


(BY VERIFYING GIVEN OUTPUT)

2.Write a HTML code to display many ordered lists.


(BY VERIFYING GIVEN OUTPUT)
3.Write the HTML code to generate the following output:

Note: The following points while generating the Web page:


1. Link color is green, active link color is blue and visited link color is red.
2. Title of the page is “Eat healthy, live healthy”.
/3. Heading of the page is maroon.
4. Image is used in “Restaurant.jpg”
5. Caption of table is blue
6. Table border is blue and of size 2.
7. The links are one.html, two.html, three.html and four.html.
8. The E-mail id for contact us is ‘[email protected]’.

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.

You might also like