BCA5060 Practical Answer Sheet
BCA5060 Practical Answer Sheet
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.