0% found this document useful (0 votes)
2 views1 page

Client-Side vs Server-Side Scripting Explained

The document outlines key differences between client-side and server-side scripting, noting that client-side is faster but less secure, while server-side is more secure but slower. It also distinguishes between static websites, which display fixed content, and dynamic websites that change content using server-side languages. Additionally, it explains that DOM (Document Object Model) allows for dynamic manipulation of HTML documents, which cannot be achieved with just HTML and CSS.

Uploaded by

hiwotabebe864
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 views1 page

Client-Side vs Server-Side Scripting Explained

The document outlines key differences between client-side and server-side scripting, noting that client-side is faster but less secure, while server-side is more secure but slower. It also distinguishes between static websites, which display fixed content, and dynamic websites that change content using server-side languages. Additionally, it explains that DOM (Document Object Model) allows for dynamic manipulation of HTML documents, which cannot be achieved with just HTML and CSS.

Uploaded by

hiwotabebe864
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

IP I – Individual Assignment Answers

1. Difference Between Client-Side and Server-Side Scripting

Client-side scripting runs on the user’s browser using HTML, CSS, and JavaScript. It is used for
designing interfaces, validating forms, animations, and interactive pages. It is fast but less secure.

Server-side scripting runs on the server using PHP, Python, [Link], Java, etc. It is used for databases,
authentication, and generating dynamic content. It is secure but slower.

2. Difference Between Static and Dynamic Websites

Static websites show fixed content and use HTML and CSS only. They do not use a database.

Dynamic websites change content automatically using server-side languages and a database.

3. What is DOM (Document Object Model)?

DOM is a tree-like structure that represents an HTML document as objects. It allows JavaScript to
modify, add, or remove elements dynamically.

4. Can you develop a simple UI through DOM using only HTML and CSS?

No. HTML and CSS can create layout and design, but they cannot manipulate the DOM. JavaScript is
required for DOM interaction.

5. Justification

DOM manipulation requires JavaScript because HTML and CSS cannot update or change elements
dynamically. They can only build static interfaces.

You might also like