HTML Background Theory Questions
HTML Background Theory Questions
2. What is listing in HTML? Explain different types of listing used in HTML. Listing is the
process in of arranging many items to make a group. There are mainly three types of list:
A. Ordered list:
<ol>
<li>First item</li>
<li>Second item</li>
<li>Third item</li>
</ol>
B. Unordered List:
<ul>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ul>
C. Definition List:
<dl>
<dt>Term 1</dt>
<dd>Definition 1</dd>
<dt>Term 2</dt>
<dd>Definition 2</dd>
<dt>Term 3</dt>
<dd>Definition 3</dd>
</dl>
defined by anchor <a> tag in HTML. Hyperlinks are
often displayed as text or images, and are usually
underlined and/or colored to indicate that they are
clickable. Its types are:
A. External hyperlink: External hyperlinks are created
using the <a> tag and the "href" attribute, which
specifies the URL of the external page or website that
the hyperlink should point to.
External hyperlinks can be used to provide additional
information, reference sources, or direct users to
related websites. When a user clicks on an external
hyperlink, the browser loads the destination page or
website in a new browser window or tab. Example:
<a
href="https://domf5oio6qrcr.cloudfront.net/medialibra
ry/6372/202ebeef-6657-44e
c-8fff-28352e1f5999.jpg>Visit Banana</a>
B. Internal Hyperlink: Internal hyperlinks can be used
to provide navigation within a web page or website, or
to direct users to related content on the same page.
When a user clicks on an internal hyperlink, the
browser scrolls to the destination section or anchor on
the same page. Example:
...
Bgcolor=”colorname” Align=”left/right/center”
Defines alignment in a table or in a
Distance between cells content a
5. Write the use of <a> tag and explain different attributes of <a> tag with examples.
The <a> tag is used in HTML to create hyperlinks or anchor links. Hyperlinks are
clickable links that direct the user to a different web page or website, while anchor links
are clickable links that direct the user to a specific section or anchor within the same web
page or website. The <a> tag is typically used in conjunction with the href attribute,
which specifies the destination of the hyperlink.
Example Attributes of tags
ii. Internal CSS: In this method, CSS is written within the <style> tag in the head section of
the HTML document. Here's an example:
<head>
<style>
h1 {
color: red;
}
</style>
</head>
8. What is <form> tag? Explain different tags used within <form> tag in with
examples.
The <form> tag in HTML is used to create an interactive form on a web page. It defines a
container for form elements such as input fields, checkboxes, radio buttons, and
buttons.
<tag> Descriptions of the attributes Example
<button> It allows the users to create a clickable button. <button type= “button” name=
“button”>click</button>
9. What is the use of <frameset> tag and <frame> tag in HTML? Explain with examples.
Frameset is a tag in HTML which allows the user to divide a window into multiple section
and multiple webpages can be embedded on these section as frame. Example:
<!DOCTYPE html>
<html>
<head>
<title>My Frameset Example</title>
</head>
<frameset cols="25%, 75%">
<frame src="menu.html">
<frame src="content.html">
</frameset>
</html>
The <frame> tag is used to define each frame within the <frameset> tag.
10.Write short notes on:
a) Web page b) Web site c) URL d) Search Engine
e) CMS (Content Management System) f) Web Server
g) Protocols (TCP/IP, HTTP, HTTPS, FTP, SMTP, POP)
a) Webpage is the collection of electronic documents provided by the website to the user in
internet. We can post our information in the form of audio, video, pictures, text etc. as a
webpage.
b) Website is a collection of web pages that are inter related to one another and typically
hosted on the same domain. A typical website includes several pages, each with its own
content and purpose, and interconnected through hyperlinks. The homepage serves as
the main entry point to the website and provides an overview of the site's content and
navigation options.
c) URL stands for uniform resource locator. It refers to the address of specific webpage or files on
the internet.
d) Search engine is a web application or a website which helps to search the information from the
worldwide web. The searched information contains, link, picture, video etc. Google, Bing etc. are
some example of search engines.
e) A content management system often called CMS is typically a form of software which helps the
users to create, manage and modify the content on a website without specialized technology
knowledge. A Content Management System (CMS) is a software application that allows users to
create, manage, and publish digital content, typically for websites, without the need for
advanced technical skills.
f) A web server is a software application that handles requests from web browsers and delivers
web content to the requesting client over the internet. The web server software runs on a
physical server, which is typically hosted in a data center and connected to the internet via a
high-speed network connection.
g) Protocols are a set of rules and procedures that define how data is transmitted over a network.
They provide a standardized way for different devices and software applications to communicate
with each other and exchange data. Protocols are essential for enabling communication between
different devices, networks, and systems.
Transmission Control Protocol/Internet Protocol (TCP/IP): This is the primary protocol used for
transmitting data over the internet. TCP ensures reliable delivery of data by breaking it into
packets and verifying that each packet is received correctly. IP is responsible for addressing and
routing packets to their destination.
Hypertext Transfer Protocol (HTTP): This is the protocol used for transmitting web pages and
other web content over the internet. HTTP defines how web browsers and servers communicate
with each other to request and deliver web content.
File Transfer Protocol (FTP): This is the protocol used for transferring files between computers
over a network. FTP allows users to upload and download files to and from a remote server.
Simple Mail Transfer Protocol (SMTP): This is the protocol used for sending email messages over
the internet. SMTP defines how email servers communicate with each other to send and receive
email messages.
Domain Name System (DNS): This is the protocol used for translating domain names (such as
google.com) into IP addresses that can be used by network devices to locate servers on the
internet.
A Project Report on
HTML
Submitted to
Department of Computer
Uniglobe Secondary School (UGSS)/College, Kamaladi,
Kathmandu
Submitted By
Aagat Adhikari
Certificate of Approval
The project work entitled “C-programming” by Mr. Aagat Adhikari under the supervision of
Mr. Navin Gurung is hereby submitted for the partial fulfillment of requirement of Computer
exam in grade XI. This project work has not been submitted in any other institution previously
for the award of grade XI.
Sign……………
Supervisor
Department of Computer
I Aagat Adhikari hereby declare that the project work entitled “HTML” the supervision of Mr.
Navin Gurung of Uniglobe secondary school herein is genuine work done originally by me and
has not been published or submitted elsewhere for the requirement of any degree program. Any
literature, data or work done by others and cited in this project work has been given due
acknowledgement and listed in the reference section.
Sign………………………..
Grade: XI
Date: 2023/24/03