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

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 5

What is HTML & Tag?

HTML stands for Hyper Text Markup Language


HTML is the standard markup language for creating Web pages.
HTML describes the structure of a Web page.
HTML consists of a series of elements.
HTML elements allow the browser to display the content.
A tag is a short description of an HTML object. It is the HTML syntax that defines every structure on
an HTML page, including the placement of text images and hypertext links.
HTML tags begin with the less-than (<) character and end with greater-than (>). These symbols are
also called angle brackets.

What is a Text Editor?


Web pages can be created and modified by using professional HTML editors.
However, for learning HTML a simple text editor like Notepad can be used.

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 TITLE Tag?


The <TITLE> tag defines the title of the document. The title must be text-only, and it is shown in the
browser's title bar or the page's tab.
Defines a title in the browser toolbar.
Provides a title for the page when it is added to favorites.

What is BODY Tag?


The <BODY> tag defines the document's body.
The <BODY> contains all the elements of an HTML document, such as headings, paragraphs, images,
hyperlinks, tables, lists, etc.

What is a Website Footer?


A website's footer is an area located at the bottom of every page on a website, below the main body
content. It contains important links related to website search and the Copyright Mark.

What is a Website Header?


A website header is the top section of the web page. Back in the day, people understood headers as
narrow strips in the top parts of websites that contained a logo, a call to action, and contact
information. But in modern design, the whole space above the fold of the homepage is considered a
header.

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 a Website Menu?


A website menu is a series of linked items that serve in navigating between the different pages or
sections of a website.

What is Block Element?


A block element always starts on a new line. A block element always takes up the full available width
of the screen. A block element has a top and a bottom margin.
Some examples are:
DIV
FORM
UL

What is an Inline Element?


An Inline element never starts on a new line and follows in same line as the previous Inline element.
An Inline element never takes up the full available width of the screen rather it only takes its default
size. An Inline element never has its default top and bottom margin.
Some Examples are:
SPAN
LABEL
BUTTON
TEXT

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 are the Heading Tags?


HTML headings are titles or subtitles that you want to display on a webpage.
HTML headings are defined with the <HI> to <H6> tags. <HI> defines the most important heading.
<H6> defines the least important heading.

What are the Paragraph Tags?


The HTML <P> element defines a paragraph.
A paragraph always starts on a new line and browsers automatically add some white space as margin
before and after a paragraph. <P>lt may contains many lines</P>

What are the Format Tags?


Bold: The <B> tag specifies bold text without any extra importance.
<P>ln a line of sentences<B>important Word</B> it specify some important words</P>
Italic: The HTML <l> element defines a part of the text in an alternate voice or mood. The content
inside is typically displayed in italics.
<P>ln a line of sentences<l> alternate voice or mood</l> it specifies alternate voice and mood of
words</P>
Underline: The <U> tag represents some text that is styled differently from normal text with a
horizontal line under it. <P>ln a line of sentences<IJ>text with horizontal line under it </IJ> it
specifies differently from normal text of words</P>
What are the Format Tags?
HTML contains several elements for defining text with a special meaning. Formatting elements were
designed to display special types of text:
<B> - Bold text
<STRONG> - Important text
<I>- Italic text
<EM> - Emphasized text.
<MARK> - Marked text.
<SMALL> - Smaller text
<DEL> - Deleted text
<INS>-Inserted text
<SUB> - Subscript
<SUP> - Superscript text

What are BR Tags?


Line Break
The <BR> tag inserts a single line break.
The <BR> tag is useful for writing addresses or poems.
The <BR> tag is an empty tag which means that it has no end tag.
<P>To force<BR> line breaks<BR> in a text<BR> use the br<BR> element.

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.

How to insert Image in Web Document?


IMAGE
The HTML<IMG>tag is used to embed an image in a web page.
Images are not technically inserted into a web page; images are linked to web pages.
The <IMG> tag creates a holding space for the referenced image.
tag is empty; it contains attributes only, and does not have
The
a closing tag.
The <IMG> tag has two required attributes:
SRC: Specifies the path to the image
ALT: Specifies an alternate text for the image

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 CENTER Tag?


CENTER: The <CENTER> tag is used to set the alignment of text into the center. The <CENTER> tag is
used to bring an element in the center of the screen.
What is IFRAME?
The HTML tag specifies an inline frame. The SRC attribute defines the URL of the page to embed.
<IFRAME SRC = IFRAME >
Other Website, YouTube Video & Picture can be shown and controlled within a specific portion of the
Web Page by using the IFRAME Tag

Explain the ID & CLASS Attribute.


The ID attribute specifies a unique ID for an HTML element. The value of the ID attribute must be
unique within the HTML document. The ID attribute is used to point to a specific style declaration in
a style sheet. It is also used by JavaScript to access and manipulate the element with the specific ID.
The syntax for id is to write a hash character (#), followed by an ID name. Then, define.
the CSS properties within curly braces {} The class attribute specifies one or more class names for an
element. The class attribute is mostly used to point to a class in a style sheet. However, it can also be
used by JavaScript (via the HTML DOM) to make changes to HTML elements with a specified class.

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.

Different between Java & JS?


Java and JS both languages require different plug-ins. JavaScript code runs on the browser only, while
Java creates applications that run in a virtual machine or browser. Java is an Object-Oriented
Programming language and JavaScript is specifically an OOP scripting language.

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

Q.I Different types of CSS.


Ans:- External: These are written in separate files.
Internal: These are cited at the top of the web page code document.
Inline: These are written right next to the text.
Q.2 What are the uses of an embedded style sheet?
Ans:- Embedded style sheet gives us the privilege to define styles in one place in an HTML document.

Q.3: How to use CSS selector?


Ans: By using the CSS selector, we can choose the content that we want to style so that we can say
that it is a bridge between the style sheet and the HTML files.

Q.4:ExpIain the term Responsive web design.


Ans:lt is a method in which we design and develop a webpage according to the user activities and
conditions which are based on various components like the size of the screen, portability of the web
page on the different devices, etc. It is done by using different flexible layouts and grids.

Q.I What is a Tag in HTML?


Ans:-ln an HTML page, tags used are to place the content and format the pages. They are always
defined between (<) and (>) symbols. For example,
Q.2. What are Lists in HTML?
Ans:- HTML lists are used to group a set of related items in lists. It is defined with an <li> tag. Some
commonly used HTML lists:-Ordered List (HTML tag: <OI>) Unordered List (HTML tag: <ul>)

Q,l:- why we use jsp?


Ans:-it is a server-side technology that is used for creating dynamic web pages. It is the extension of
servlets.

Q.I. Can we use graphics in XML?


Ans:- Yes, graphics can be stored in XML file by using XLink and XPointer. It supports graphics like GIF,
JPG, TIFF, PNG, CGM, EPS, SVG.
Q.2. Is XML case sensitive?
Ans: Yes, XML is a case sensitive language.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy