Web Development
Web Development
Short Question: -
Ans: A web application is a program that allows user to perform actions online. A web application or a web app is a
software application that runs on server, a web application uses web browsers and web technology to perform tasks
over internet.
QNo.2: What is website and a web page?
Ans: Website: A set of related web pages located under a single domain name, and published on at least one web
server.
Web page is a document commonly written in Hyper Text Markup Language (HTML) that is accessible through the
Internet or other network using an Internet browser.
QNo.3: What is HTML?
Ans: HTML stands for Hyper Text Markup Language. It is a standard markup language for creating Web Pages. It
describes the structure of web pages using markups. HTML elements are the building blocks of HTML pages.
QNo.4: What is HTTP?
Ans: HTTP (Hypertext Transfer Protocol) is the set of rules for transferring files (text, graphic images, sound, video,
and other multimedia files) on the World Wide Web. HTTP is an application protocol that runs on top of the TCP/IP
suite of protocols (the foundation protocols for the Internet).
QNo.5: What is an HTTP Request?
Ans: An HTTP request is a message sent by a client (usually a web browser) to a web server to communicate and
request a resource. HTTP works as a request-response protocol where the server responds with status information
and requested content.
GET is an HTTP request method used to request data from a specified resource. In a GET request, data is sent to the
server through the URL in the form of a query string (name/value pairs).
POST is an HTTP request method used to send data to a server to create or update a resource. In a POST request, the
data is sent in the request body of the HTTP request instead of the URL.
Ans: Server-side programming is the programming that runs on the server and generates the content of web pages.
It deals with dynamic content, like searching databases, rather than static pages.
The Programming languages for server-side programming are: • PHP • C++ • Java and JSP
Ans: JavaScript is a programming language used to create dynamic and interactive content on web pages.
It runs in the browser and can change content and respond to user actions.
Ans: The application tier, also known as the logic tier or middle tier, is the heart of the application. In this tier,
information collected in the presentation tier is processed. The application tier can also add, delete or modify data in
the data tier.
Ans: Improved scalability: Any tier can be scaled independently of the others as needed.
• Improved reliability: An outage in one tier is less likely to impact the availability or performance of the other tiers.
• Improved security: The presentation tier and data tier can't communicate directly, a well-designed application tier can
function as a sort of internal firewall.
CHAPTER # 2
QNo.1: What is Tomcat?
Ans: It is an open-source Java servlet container that implements many Java Enterprise Specs such as the Websites
API, Java-Server Pages and the Java Servlet. The complete name of Tomcat is "Apache Tomcat" it was developed in
an open, participatory environment and released in 1998 for the very first time.
➢ Ans: It is open-source: It means anyone from anywhere can download, install, and use it free of cost.
Ans: is an integrated development environment for Java. NetBeans allows applications to be developed from a set of
modular software components called modules. NetBeans runs on Microsoft Windows, macOS, Linux and Solaris.
QNo.4: What is WEB-INF?
Ans: The WEB-INF directory is a special folder inside a web application that stores configuration and internal files.
Files in this folder cannot be accessed directly by a browser but are used internally by the web app.
Ans:
Ans: Copywriting: is the process of writing clear and meaningful text (content) for an application or
website.
Labeling means giving proper names or titles to buttons, menus, links, and sections so users can easily
understand and use the application.
CHAPTER # 3
QNo.1what is html tag and give one example:
Ans: A tag is an instruction to tell the browser how it should display certain content on the screen. Sometimes
developers might refer to tags as elements. Each tag element is defined by a starting tag, some content, and an
ending tag.
Example <h1> my first heading</h1>
QNo.2: Write any five html tags?
Ans: CSS stands for Cascading Style Sheets. CSS describes how HTML elements are to be displayed on screen,
paper, or in other media. CSS saves a lot of work. It can control the layout of multiple web pages all at once. CSS
can be added to HTML elements in 3 ways: Inline, Internal, External
QNo.4: What is internal CSS?
Ans: An internal CSS is used to define a style for a single HTML page. An internal CSS is defined in the <head>
section of an HTML page, within a <style> element.
QNo.5: What is external CSS?
Ans: An external style sheet is used to define the style for many HTML pages. With an external style sheet, you
can change the look of an entire web site, by changing one file. To use an external style sheet, add it as a link to in
the <head> section of the HTML page.
Ans: CSS is used to define styles for your web pages, including the design, layout and variations in display for
different devices and screen sizes.
QNo.7: Describe cellpadding and cellscpacing attributes?
Ans: It is use to adjust the white space in your table cells. The cellspacing attribute defines space between table
cells, while cellpadding represents the distance between cell borders and the content within a cell.
QNo.8: How can ou add a header in an html page?
Ans: We use a header in an HTML page to show titles, headings, or important sections, making the content
organized and easy to read.
<header>
</header>