0% found this document useful (0 votes)
45 views4 pages

BCA5060 Practical Answer Sheet

The document contains an answer sheet template with two parts: Part A contains two HTML exercises to be completed with code and screenshots. Part B contains five questions to be answered with input and output for each.

Uploaded by

Shubham Tiwari
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
45 views4 pages

BCA5060 Practical Answer Sheet

The document contains an answer sheet template with two parts: Part A contains two HTML exercises to be completed with code and screenshots. Part B contains five questions to be answered with input and output for each.

Uploaded by

Shubham Tiwari
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Answer Sheet Template

Part – A (Two exercises)

Ans. 1: HTML code for exercise 1 [17.5 marks]

Anser (a) INPUT:-

Answer (a) OUTPUT:-

Ans. 2: HTML code for exercise 2. [17.5 marks]

Show Screenshots of output/result in a web browser. [17.5 marks]

Part – B (Five questions)

Answer 1 (b) INPUT:- OUTPUT:-

Ans 2: HTML code for exercise 1 [17.5 marks]


Answer 2 (a) INPUT: OUTPUT:-

Answer 2 (b) INPUT:-

Answer 2(b) OUTPUT:-


Part – A (Two exercises)

1. What is web server?


Web server" can refer to hardware or software, or both of them working together.
On the hardware side, a web server is a computer that stores web server software and a
website's component files (e.g. HTML documents, images, CSS stylesheets, and JavaScript
files). It is connected to the Internet and supports physical data interchange with other devices
connected to the web.
On the software side, a web server includes several parts that control how web users access
hosted files, at minimum an HTTP server. An HTTP server is a piece of software that
understands URLs (web addresses) and HTTP (the protocol your browser uses to view
webpages). It can be accessed through the domain names (like mozilla.org) of websites it
stores, and delivers their content to the end-user's device.

2. What is the use of <body> tag in HTML code?


The <body> tag is written as <body></body> with the document's content inserted between
the start and end tags. Any attributes can be inserted into the start. The <body> must be the
second element in an <html> element. <body> start tag being closer to the top of the
document, with the end tag near the bottom. It is used to define the main content present
inside an HTML page. It is always enclosed within <html>tag. The <body> tag is the last child of
<html> tag.

Syntax: <body> Body Contents... </body>

3. Which tag do you use to order and unordered lists in html page?
<ol>…</ol> for order list and <ul>……</ul> is used for unordered list in html page.
4. How do you apply hyper link in HTML page?
We can create a hyperlink for an external website. To make a hyperlink in an HTML page, use
the <a> and </a> tags, which are the tags used to define the links.
The <a> tag indicates where the hyperlink starts and the </a> tag indicates where it ends.
Whatever text gets added inside these tags, will work as a hyperlink. Add the URL for the link
in the <a href= ” ”>, Just keep in mind that you should use the <a>…</a> tags inside <body>…
</body> tags.
5. Why is CSS used along with HTML code?
HTML and CSS are the core web scripting languages, the primary use of which is to create web
pages and web application. The crucial difference between the two is that HTML is used for
the creation of the webpages and CSS is used to control the styling and layout of web pages.
In HTML, firstly you write words then add elements or tags to it, which thereafter appear on
your page. Through this way, the browser gets to know the heading of the page, beginning
and ending of the paragraph, and so on.
In CSS, rules are used by utilising CSS properties. CSS properties are generally classified into
two broad categories. First is the presentation which specifies the colour of the text, font type,
font size, background colours, background images, etc. Second is layout defines the position of
the different elements on the screen.

You might also like