Professional Documents
Culture Documents
Create a simple web page to display name, uid, gmail using boostrap.
2. Task to be done:
3. Concept used:
1. In this experiment we are added online (CDN) bootstrap rather than offline
boostrap.
<meta charset="utf-8">
b)
<div class=" container-fluid row md-4">
</div>
From here div tag started div tag is used to create a container.In this div tag
there is two classes (container-fluid,row md-4).
a. Container-fluid class is used to provide a full width container.
b. Row md-4 tells us that the container is behave likes row md is used to
define the grid md means the screen size is defaulty sets to tablet
mode
c. After the parent tag we also declaring here another div tag which work
like a column in parent row . and here is also an another sm class
which is used to set the screen size to phone screen mode
d.
H2 tag:- In this tag there is 4 classes(bg-info p-5 text-center text-dark)
a) Bg-info class is used to set the blue background to this element
b) P-5 class is used to set the padding in this -5 is used to give user
defined padding size(.25*5)
c) Text-center class is used to set the text to center according to div col
class tag.
d) Text-dark class is used to set the font color to light grey
</div>
This is our 2nd column in which we are trying to add our name
Here we creating an another columns using div container tag in which we define col
and sm-4 class. Col class is used to represent the div tag as a column and sm-4 is
for small size screens its size set to sm-4
b) Bg-success class is used to set background color to green it represent success sign.
e) Text-light is used to set the white color it is slightly more brighter than white color
<div class="col-sm-4">
</div>
In this also we are using the same classes that we are using same as above
Output of above lines code:-
6. Result/Output/Writing Summary:
Learning outcomes (What I have learnt):
Evaluation Grid: