Assignment 1 WT Dinesh Dodeja
Assignment 1 WT Dinesh Dodeja
**********************************************************************************
Code –
<!DOCTYPE html>
<html>
<head>
<title>My Website</title>
</head>
</html>
Output –
<html>
<head>
<title>Assignment 2 Dinesh</title>
<style type="text/css">
.outlist1{
list-style-type: upper-roman;
background-color: pink;
.innerlist{
list-style: arabic-indic;
.outlist2{
list-style-type: upper-roman;
background-color:blue;
.outlist3{
list-style-type: upper-roman;
background-color: red;
</style>
</head>
<body>
<ol>
<li class="outlist1">Compact
<li>Two Door
</li>
<li>Four Door
<ol class="innerlist">
<li>TATA TIGOR</li>
<li>FORD ASPIRE</li>
<li>Mazda Mazda3</li>
</ol>
</li>
</ol>
</li>
</ol></br>
<ol>
<li>Two Door
<ol class="innerlist">
</ol>
</li>
<li>Four Door
<ol class="innerlist">
</ol>
</li>
</ol>
</li></br>
</ol>
<ol>
<li class="outlist3">Sports
<li>Coupe
<ol class="innerlist">
<li>Mercedes-Benz AMG-GT</li>
<li>Lamborgini Aventador</li>
<li>Ferrari Roma</li>
<li>Jaguar F-TYPE</li>
<li>Nissan GT-R</li>
</ol>
</li>
<li>Convertible
<ol class="innerlist">
<li>Ferrari Portofono</li>
<li>Porsche 911</li>
<li>Rolls-Royce Dawn</li>
<li>Mercedes-Benz C-Class</li>
</ol>
</li>
</ol>
</li>
</ol>
</body>
</html>
Output –
<label>
Course :
</label>
<select>
<option value="Course">Course</option>
<option value="BCA">BCA</option>
<option value="BBA">BBA</option>
<option value="B.Tech">B.Tech</option>
<option value="MBA">MBA</option>
<option value="MCA">MCA</option>
<option value="M.Tech">M.Tech</option>
</select>
<br>
<br>
<label>
Gender :
</label><br>
<form action="">
<input type="radio" name="gender"
value="male">Male<br>
<input type="radio" name="gender"
value="female">Female<br>
<input type="radio" name="gender"
value="other">Other<br>
<br>
</form>
<label>
Phone :
</label>
<input type="text" name="country code"
value="+91" size="2"/>
<input type="text" name="phone" size="10"/> <br>
<br>
Address
<br>
<textarea cols="50" rows="5" value="address">
</textarea>
<br> <br>
Email:
<input type="email" id="email" name="email"/> <br>
<br>
Password:
<input type = "password" name = "pswd1"> <br>
<br>
Re-type password:
<input type = "password" name = "pswd2"> <br>
Output –
<body>
<?xml version="1.0"?>
<!DOCTYPE note [
<!ELEMENT information (book name,author
name,publication,year of publication)>
<!ELEMENT book name (#PCDATA)>
<!ELEMENT author name (#PCDATA)>
<!ELEMENT publication (#PCDATA)>
<!ELEMENT year of publication (#PCDATA)>
]>
<information>
<br></br>
<book name>power of habit</book name>
<br></br>
<author name>charles duhigg</author name>
<br></br>
<publication>XYZ</publication>
<br></br>
<year of publication>2012</year of publication>
</information>
</body>
</html>
Output –