Vous êtes sur la page 1sur 4

CSE-102

ROLLNO:-B38

SOLUTIONS:-

1:- <html>

<body>

<h1><i><u>This is list showing types of fonts available</u></i></h1>

<ol type='I'>

<li>Times new Roman</li>

<ul>

<li>Bold</li>

<li>Italic</li>

<li>Regular</li>

</ul>

<li>Arial</li>

<li>Calibria</li>

<li>Broadway</li>

</ol>

</body>

</html>

2.

<html>

<body>

<table border='1'>

<tr><th rowspan=2>Name</th>

<th colspan=4>Ranking</th>

<th rowspan=2>Remark</th></tr>
<tr><td>1</td><td>2</td><td>3</td><td>4</td></tr>

</table>

</body>

</html>

3.

<html>

<body bgcolor='red'>

<h1><center><u><font color='red'>XYZ
HOSPITAL</FONT></u></center></h1>

</br></br><h2><i>WELCOME</i></h2>

<table width="650" height="50" align="center">

<tr>

<td width="650" height="94" align="left" valign="middle"


background="hospital.jpeg." ><div align="center"><b><font

color="black" size=20>xyz Hospital</font></b></div></td>

</tr>

</table>

<table width="780" align="center" bgcolor=" blue">

<tr>

<td height="38" colspan="2" valign="top"><table width="100%">

<tr>

<td width="780" height="38" align="center" valign="middle"


background="hospital2.jpeg">

<div align="center"><a href="#" class="a">Home</a> | <a


href="#" class="a">doctors</a> | <a href="#"

class="a">medicines</a> | <a href="#" class="a">services</a> | <a href="#"


class="a">Contact Us</a></div>
</td>

</tr>

</table></td>

</tr>

</tr>

<tr>

<td height="211" valign="top"><table width="100%" cellpadding="30">

<tr>

<td width="584" height="211" valign="top"><p>

<br>

The legacy of touching lives stems from the four pillars of our philosophy -
experience, excellence, expertise and research. At xyz Hospitals, we unite
exceptional clinical success rates and superior technology with centuries-old
traditions of Eastern care and warmth, as we truly believe the world is our
extended family-something our 19 million patients from 55 countries can warmly
affirm..

<br><br>

With 24*7 hrs services we have atmost what you require.We are happy to
help</p>

<p>There are over 17,000 hospitals in the world</p>

<p><b>GENERAL</b>

</td>

</tr>

</table></td>

</tr>

</table>

</body>

</html>
4.create table EMP

(Sal number(10)

);

Alter table EMP

ADD ACCONNTNO number;

Alter table EMP

MODIFY Address varchar(20);

UPDATE EMP

SET ACCOUNTNO= 072600;

Alter table EMP

MODIFY Sal varchar2(15);

5.

a). UPDATE TABLE EMP SET ENAME = ‘SMITH JAIN’ WHERE EMPNO=7369;

b.)ALTER TABLE EMP RENAME ENAME TO E_NAME;

6.

a).Select * from student;

b). SELECT StudentId from student where Admission fee>5000;

c.)ALTER Table student

ADD GRADES varchar(2);

d.) Select Student _name from student where semester IN(3,4);