Posted in All Posts, Semester 2

Sem 2 – DHTML & XML Unit 1 Programs

DHTML & XML – DYNAMIC HTML & XML

Unit 1 : Related to CSS

P.S. : You have to download the three files below too for the programs with external CSS and background attributes (Program 3 to 8) to work. The Download All link at the end has all files along with the programs in a single .zip file.
Image 1
Image 2
External CSS File | View Code

1. Write HTML program which contains cascaded style sheet for p, h2, h3, body and font attributes.
Download | View Code

2. Write HTML program which contains Inline Style sheet for p, h1 and body tags.
Download | View Code

3. Write HTML program which contains external style sheet with user defined Classes.
Download | View Code

4. Write HTML program which contains external style sheet with background attributes of style sheet.
Download | View Code

5. Write HTML program which contains external style sheet with text attributes of style sheet.
Download | View Code

6. Write HTML program which contains cascaded style sheet with border attributes of style sheet.
Download | View Code

7. Write HTML program which contains cascaded style sheet with margin attributes of style sheet.
Download | View Code

8. Write HTML program to create three different tables with different style. Styles for each table are different.
For Example :

  • Table 1: Fonts with white color, 25 size Tahoma font family. Background with brown color, repeated in x axis. Border with pink color, double style and 12 width.
  • Table 2: Fonts with black color, 32 size Times New Roman font family. Background with gray color, repeated in y axis. Border with yellow color, groove style and 20 width.
  • Table 3: Fonts with blue color, 50 size Tahoma font family. Background with light blue color, not repeated in any axis. Border with black color, double style and 12 width.

Download | View Code

Download All

We hope that you found this article to be helpful.
Please share your thoughts in the Comments Section.

If you liked this article, then please like our Facebook page.

Suggested Reading

Comment your thoughts

This site uses Akismet to reduce spam. Learn how your comment data is processed.