wp2marks
wp2marks
wp2marks
1. HTTP vs HTTPS:
3. HTML Frames:
HTML frames divide a webpage into multiple sections, each capable of
loading a separate HTML document.They allow independent updates to
sections .Frames are now considered outdated due to better layout
practices like CSS grids and flexbox.
4. Internet vs World Wide Web:
2 MARK ANSWERS
5. URL Components:
A URL (Uniform Resource Locator) is a web address identifying a
resource on the web.
Its components include a scheme (e.g., https), domain, path, optional port,
query string, and fragment identifier.
It specifies the protocol, location, and details for accessing the resource.
6. Role of TCP/IP:
TCP/IP (Transmission Control Protocol/Internet Protocol) is the
foundation of Internet communication.
TCP ensures reliable data transmission by handling data segmentation
and reassembly.
IP handles addressing and routing, ensuring data packets reach their
destination.
7. Default HTTP Port:
The default port number for HTTP communication is 80.
This port is used by web browsers and servers for standard, unsecured
data exchange.
It can be changed if necessary, though it’s rarely done in typical use
cases.
8. Purpose of <form>Tag:
The <form> tag in HTML is used to collect and submit user data to a
server.
It contains input elements like text fields, checkboxes, and buttons.
Forms are essential for interactive applications like registration, search,
and feedback.
9. Semantic Elements in HTML:
Semantic elements like <header>, <footer>, <article>, and <section>
were introduced in HTML5.
They provide meaning to web content, improving accessibility and SEO.
2 MARK ANSWERS
These elements replaced generic tags like <div> for better structural
clarity.
10.Tag for Images:
The <img> tag is used to insert images into HTML documents.
It requires the src attribute for the image file URL and alt for descriptive
text.
Optional attributes like width and height allow resizing within the layout.
Answers
Inline CSS
Internal CSS
External CSS
2. Features of CSS:
Features:
* Lightweight and Interpreted
* Platform Independence
* Dynamic Typing
* Object-Oriented and Functional
Applications:
* Data Visualization
* Mobile Application Development
* Desktop Application Development
* Game Development
2 MARK ANSWERS
4. Three Ways to Apply CSS:
6. Pseudo-classes in CSS:
Pseudo-classes define the special states of elements, like :hover or :nth-
child.
For example, a:hover { color: blue; } changes a link’s color when
hovered over.
They enhance interactivity without JavaScript.
7. Client-side vs Server-side Scripting:
UNIT 3
1. if statement:
Used to execute code if a condition is true.
Example:
2. for loop:
Example:
Unit 5
1.What is a web service (WS)?
Web services are methods that enable communication between
applications over the internet using protocols like HTTPand SOAP. They
are necessary because they facilitate interoperability and allow different
systems to exchange data seamlessly
2.Identify the names of the four main web services components.
The four main standards for web services are SOAP, WSDL,
UDDI, and XML.