Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

Q1. Observe the following table and write the HTML code to generate it.

<HTML>
<HEAD>
<TITLE> Table </TITLE>
</HEAD>
<BODY>
<TABLE border="2" frame="hsides" rules="rows">
<TR>
<TD> Sunday </TD>
<TD> Monday </TD>
</TR>
<TR>
<TD> Tuesday </TD>
<TD> Wednesday </TD>
</TR>
<TR>
<TD> Thursday </TD>
<TD> Friday </TD>
</TR>
</BODY>
</HTML>
Q2. Write an HTML code to print the following table.

<HTML>
<HEAD>
<TITLE> Student </TITLE>
</HEAD>
<BODY>
<TABLE border="2" bgcolor="yellow" height="30%" width="40%"
align="center">
<CAPTION>
<B><FONT color="green" size="40">
Student Data </B> </FONT></CAPTION>
<TR>
<TH> Roll No. </TH>
<TH> Student Name </TH>
<TH> Address </TH>
<TH> Marks </TH>
</TR>
<TR>
<TD> 1 </TD>
<TD> Amrita </TD>
<TD> Shastri Nagar </TD>
<TD> 483 </TD>
</TR>
<TR>
<TD> 2 </TD>
<TD> Rohit </TD>
<TD> T P Nagar </TD>
<TD> 418 </TD>
</TR>
<TD> 3 </TD>
<TD> Tanu </TD>
<TD> Saket </TD>
<TD> 489 </TD>
</TR>
</TABLE>
</BODY>
</HTML>
Q3. Write the code using CSS to display following output.

<HTML>
<HEAD>
<TITLE> BGA </TITLE>
<STYLE type="text/css">
h1{color:red; text-align:center; font-family:Stencil;}
p{font-family:Times New Roman; font-size:25px; text-align:justify;}
</STYLE>
</HEAD>
<BODY>
<H1> BALAJI GLOBAL ACADEMY, MAINPURI </H1>
<P> BALAJI GLOBAL ACADEMY, MAINPURI was founded in the year 2013.
BALAJI GLOBAL ACADEMY, MAINPURI is a CBSE Affiliated Co-educational English
Medium Secondary School.
CBSE Affiliation ID / Code of BALAJI GLOBAL ACADEMY, MAINPURI is
2133437.</P>
</BODY>
</HTML>
Q4. What is E-Learning? Write advantages & disadvantages of E-Learning.
Ans. E-learning, electronic learning or online learning offers you the chance to select your
desired institution from any part of the world, select any course you prefer, and also select
the hours when you will study, thus making things a lot easier for one and all.
Advantage of E-Learning:-
1. Full Flexibility
2. Study Where You Want to
3. Save Traveling Cost
4. Does Not Follow the One for All Methods
5. Less Expensive
6. Global Benefit
Disadvantage of E-Learning:-
1. Less Control
2. The Learning Style May Not Suit All
3. Lack of Immediate Response
4. Lack of Computer Competency

Q5. What is Internet? Write advantages and disadvantages of Internet.


Ans. Internet is a widespread interconnected network of computers and electronics devices
(that support internet). It creates a communication medium to share and get information
online. If your device is connected to the Internet then only you will be able to access all the
applications, websites, social media apps, and many more services.
Advantages of the Internet
1. Online Banking and Transaction
2. Education, online jobs, freelancing
3. Entertainment
4. New Job roles
5. Best Communication Medium
Disadvantages of the Internet
1. Time wastage
2. Bad impacts on health
3. Cyber Crimes
4. Effects on children
5. Bullying and spreading negativity

You might also like