A49 WC EXP 6
A49 WC EXP 6
A49 WC EXP 6
A1. Aim: Write a Bootstrap program to develop a home page with tab using navigation pills.
A2. Theory:
Program code:
<html>
<head>
<link rel="stylesheet" type="text/css" href="bootstrap.css">
<script src="jquery.js"></script>
<script src="bootstrap.js"></script>
="bootstrap.js"></script>
</head>
<body>
<div class="container">
<ul class = "nav nav-pills">
pills">
<li class = "active"><a href = "#">Home</a></li>
<li><a href = "#">About</a></li>
<li><a href = "#">Product</a></li>
<li><a href = "#">Service</a></li>
<li><a hreff = "#">Blog</a></li>
<li><a href = "#">Contact</a></li>
</ul>
</div>
</body>
</html>
Output:
PART B
(PART B: TO BE COMPLETED BY STUDENTS)
Roll. No. A-49 Name: Soham B. Gharat
Class: AI & DS Batch: A-3
Date of Experiment: 30/08/2024 Date of Submission:30/08/2024
Grade:
B2. Output:
B3. Observation:
The experiment successfully created a responsive, visually appealing home page using
Bootstrap's nav-pills for seamless tabbed navigation. Custom CSS enhanced the modern dark
theme, ensuring a consistent user-friendly experience across devices.
B4. Conclusion:
The experiment successfully demonstrated how to build a modern, responsive homepage using
Bootstrap’s navigation pills. Key aspects such as structure, styling, and interactivity were
effectively implemented, resulting in a user-friendly and visually appealing web page. The use of
Bootstrap components streamlined the development process and ensured compatibility across
various devices.
● Responsive Grid System: Bootstrap offers a 12-column grid system that adapts to
different screen sizes, ensuring that your website looks good on all devices.
● Predefined Components: It includes a vast collection of reusable components like
navigation bars, buttons, forms, modals, carousels, and more, which can be easily
customized and integrated into your project.
● CSS and JavaScript Plugins: Bootstrap comes with a set of CSS styles and JavaScript
plugins that add interactive elements like tooltips, popovers, modals, and carousels.
● Customizable: You can customize Bootstrap's default styles by overriding them with your
own CSS, or by using Bootstrap's built-in customization options through SASS or Less.
● Consistent Design: Bootstrap ensures a consistent look and feel across your website by
using a uniform design language, typography, and layout.
Q2.What are the different navigation tabs in the bootstrap?
Ans: Bootstrap provides several types of navigation tabs that you can use to organize content in
a structured and user-friendly way. The different navigation tabs are stated as follows:
1. Basic Tabs:
Basic navigation tabs allow users to switch between different sections of content within
the same page.
2. Pills Navigation:
Pills are similar to tabs but with a rounded appearance. They can be used for more
visually distinct navigation.
3. Vertical Tabs/Pills:
Vertical navigation tabs or pills align the navigation items vertically, typically on the left
side of the content.
4. Dropdown Navigation:
Dropdowns can be added to navigation tabs or pills to group related links under a single
parent item.
5. Justified Tabs/Pills:
Justified navigation tabs or pills stretch the items to fill the entire width of the container,
distributing them evenly.
*******************************