html body { margin-top: 50px !important; } #top_form { position: fixed; top:0; left:0; width: 100%; margin:0; z-index: 2100000000; -moz-user-select: none; -khtml-user-select: none; -webkit-user-select: none; -o-user-select: none; border-bottom:1px solid #151515; background:#FFC8C8; height:45px; line-height:45px; } #top_form input[name=url] { width: 550px; height: 20px; padding: 5px; font: 13px "Helvetica Neue",Helvetica,Arial,sans-serif; border: 0px none; background: none repeat scroll 0% 0% #FFF; }
, , and others. It also covers concepts like browsers, text editors, headers, footers, menus, CSS, JavaScript, and how they are used to design and style websites.">
BCSL-057 LAB Viva
BCSL-057 LAB Viva
BCSL-057 LAB Viva
What is Browser?
A web browser is a software application for accessing the World Wide Web. When a user requests a
web page from a particular website, the web browser retrieves the necessary content from a
web server and then displays the page on the user's device.
What is HEAD?
The <HEAD> element is a container for metadata (data about data) and is placed between the
<HTML> tag and the <BODY> tag. Metadata is data about the HTML document. Metadata is not
displayed. Metadata typically defines the document title, character set, styles, scripts, and other
Meta information.
What is Copyright?
The copyright symbol is used as copyright notices for works other than sound recordings. The use of
the symbol is described by the Universal Copyright Convention.
What is DIV?
The <DIV> tag defines a division or a section in an HTML document.
The <DIV> tag is used as a container for other HTML elements which can be styled with CSS or
manipulated with JavaScript. The <DIV> tag is easily styled by using the class or id attribute.
What is HR Tags?
Horizontal Line
The<HR>tag defines a thematic break in an HTML page.
The<HR>element is most often displayed as a horizontal rule that is used to separate content in an
HTML page.
What Tag will be used to jump from one document to another after Click?
HYPERLINK: We can click on a link and jump to another document. When we move the mouse over a
link then the mouse arrow turns into a little hand. The HTML <A> tag defines a hyperlink.
The most important attribute of the <A> element is the HREF attribute which indicates the link's
destination. The link text is the part that will be visible to the reader. Clicking on the link text, will
send the reader to the specified URL address.
What is CSS?
CSS stands for Cascading Style Sheets. CSS describes how HTML elements are to be displayed on
screen, paper, or in other media. There are three types of CSS which are given below: Inline CSS is
used to apply a unique style to a single HTML element. An inline CSS uses the style attribute of an
HTML element. Internal or Embedded 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. External CSS
sheets can be written in any text editor and must be saved with a .css extension. The external .css file
should not contain any HTML tags. The <link> tag defines the relationship between the current HTML
document and an external CSS resource and that is positioned under the HEAD Tag.
What is JS?
JavaScript is the Programming Language for the Web. JavaScript can update and change both HTML
and CSS. JavaScript can calculate, manipulate, and validate data. JavaScript is a text-based
programming language used both on the client side and server side that allows you to make web
pages interactive. Where HTML and CSS are languages that give structure and style to web pages,
JavaScript gives web pages interactive elements that engage a user.
What is JSP?
It stands for Java Server Pages. It is a server-side technology. It is used for creating web applications.
It is used to create dynamic web content. In this JSP tags are used to insert JAVA code into HTML
pages. It is an advanced version of Servlet Technology. It is a Web-based technology that helps us to
create dynamic and platform-independent web pages. In this, Java code can be inserted in HTML/
XML pages or both. JSP is first converted into a servlet by JSP container before processing the client's
request.
What is Applet?
A Java applet is a small application that is written in Java and delivered to users in the form of
bytecode. Applets are executed on the client side. Applets are used to provide interactive features to
web applications that cannot be provided by HTML alone like capturing mouse input etc.
Life cycle of Applets init(), stop(), paint(), start(), destroy(). Packages available in Applets are: - import
java.applet.*; and import java.awt.*. Applets use user interface classes like AWT and Swing.
Applets are more prone to risk as it is on the client machine. Applets utilize more network bandwidth
as they execute on the client machine. Requires Java Java-compatible browser for execution.
What is Servlet?
A servlet is a Java programming language class used to extend the capabilities of a server.
Servlets are executed on server side.
Servlets are the Java counterpart to other dynamic Web content technologies such as PHP and
ASP.NET.
Lifecycle of servlets are:- init( ), service( ), and destroy( ).
Packages available in servlets are:- importjavax.servlet.*; and importjava.servlet.http.*
No User interface is required.
Servlets are under the server security.
Servlets are executed on the servers and hence require less bandwidth.
It accepts input from the browser and generates responses in the form of HTML Pages, JavaScript
Object, applets