It Programs
It Programs
Shop No. 40, Durvas Apt, Vasai.Nsp Link road, Opp. To D-Mart, Nsp(East)
Hira darashan Ground Floor behind sai baba temple Navyoug Nagar/Din dayal nagar Diwanman vasai West)
SKY EDUCATION
PROGRAMS
1)Write HTML5 code with CSS as follows:
a) Create ordered list with names of tourist cities.
b) Create unordered list with tourist places of those cities.
c) Divide the list into two sections left and right by using CSS.
Ans:
<html>
<head>
<title>
Country
</title>
<style>
ul{float:left}
ol{float:right}
</style>
</head>
<body>
<ol>
<li>Paris</li>
<li>Lon</li>
<li>lndia</li>
<li>Singpore</li>
</ol>
<ul>
<li>Eiffel</li>
<li>Big Ben</li>
<li >TajMahal</li>
<li>Singapore Zoo</li>
</ul>
</body>
</html>
<html>
<head>
<title>
Office Details
</title>
<style>
H1{border-style:solid;color:red}
</style>
</head>
<body>
<form>
<hl align="center">Office Details</h1>
Enter your name
<input type="text" name="nm"><br><br>
Office Contact number
<input type="tel" pattern="[0-9] [3]-[0-9] (4)-[0-9] (4)" required><br><br>
Select month
<input type="month"><br><br>
Year of Service
<input type="number" name="yos" min="1" max="30"><br><br> <input type="submit" name="btn" value="Submit">
<input type="reset" name="rs">
</form>
</body>
</html>
DOWNLOAD OUR APP SKY EDUCATION FROM PLAYSTORE AND APPSTORE FOR
STUDY MATERIAL AND VIDEO LECTURES.
JOIN OUR TELEGRAM CHANNEL- SKYEDUCATIONOFFICIAL .
SKY EDUCATION
Shop No. 40, Durvas Apt, Vasai.Nsp Link road, Opp. To D-Mart, Nsp(East)
Hira darashan Ground Floor behind sai baba temple Navyoug Nagar/Din dayal nagar Diwanman vasai West)
4) Design a web page that should accept name of the user, Select Photo file for upload, Color picker tool, Website URL,
Search box and submit button.
Ans:
<!DOCTYPE html>
<html>
<head>
<title>
Form elements
</title>
</head>
<body>
<form name="f1">
Enter your name
<input type="text" name="t1" autocomplete="on"><br><br>
Select File to upload
<input type="file" name="newfile"><br><br>
Pick your favourite Color
<input type="color" name="color"><br><br> Enter your Webiste URL
<input type="url" name="website" placeholder="http://example.com'><br><br>
Search here
<input type="search" name="s"><br><br> <input type="submit" name="b1" value="Search">
</form>
</body>
</html>
5) Write html code to display a text World is Beautiful having font size 35, spacing between the letters using CSS.
Ans:
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
<h1 style="font-size: 35px; letter-spacing: 5px">World is Beautiful</h1>
DOWNLOAD OUR APP SKY EDUCATION FROM PLAYSTORE AND APPSTORE FOR
STUDY MATERIAL AND VIDEO LECTURES.
JOIN OUR TELEGRAM CHANNEL- SKYEDUCATIONOFFICIAL .
SKY EDUCATION
Shop No. 40, Durvas Apt, Vasai.Nsp Link road, Opp. To D-Mart, Nsp(East)
Hira darashan Ground Floor behind sai baba temple Navyoug Nagar/Din dayal nagar Diwanman vasai West)
</body>
</html>
DOWNLOAD OUR APP SKY EDUCATION FROM PLAYSTORE AND APPSTORE FOR
STUDY MATERIAL AND VIDEO LECTURES.
JOIN OUR TELEGRAM CHANNEL- SKYEDUCATIONOFFICIAL .
SKY EDUCATION
Shop No. 40, Durvas Apt, Vasai.Nsp Link road, Opp. To D-Mart, Nsp(East)
Hira darashan Ground Floor behind sai baba temple Navyoug Nagar/Din dayal nagar Diwanman vasai West)
P{text-align:right} </style>
</head>
<body>
<h1 align="center">RKT College</h1>
<p>
Our mission is to educate, enlighten and empower students in general and girls in particular thereby developing their
mental, physical and emotional dimensions in order to create better citizens and society. To this end we endeavor to
mobilize the available" resources which are necessary for higher education and add to the existing one. </p> </body>
</html>
9) Write a program using html to create inline frame. It should contain image.
Ans:
<html>
<body>
DOWNLOAD OUR APP SKY EDUCATION FROM PLAYSTORE AND APPSTORE FOR
STUDY MATERIAL AND VIDEO LECTURES.
JOIN OUR TELEGRAM CHANNEL- SKYEDUCATIONOFFICIAL .
SKY EDUCATION
Shop No. 40, Durvas Apt, Vasai.Nsp Link road, Opp. To D-Mart, Nsp(East)
Hira darashan Ground Floor behind sai baba temple Navyoug Nagar/Din dayal nagar Diwanman vasai West)
10) Design a web page that should accept name of the user, Email ID, Number of years completed in office, Office phone
Number(compulsory), image with submit button.
Ans:
<!DOCTYPE html>
<html>
<head>
<title>
Office Details
</title>
</head>
<body>
<form name="f1">
Enter your name
<input type="text" name="t1" autocomplete="off"><br><br>
Enter your Email ID
<input type="email" name="emailid"><br><br>
Number of Years completed (1-50)
<input type="number" min="1" max="50"><br><br> Office Contact Number(in format of xx-xxxxxxxxxxxxx)
<input type="tel" name="contact" pattern="[0-9] [2]-[0-9] [10)"
required><br><br>
<input type="image" src="E:\XII SCI IT 2020-21\html codes\submit.jpg"
alt="Submit" width="100" height="100">
</form>
</body>
</html>
DOWNLOAD OUR APP SKY EDUCATION FROM PLAYSTORE AND APPSTORE FOR
STUDY MATERIAL AND VIDEO LECTURES.
JOIN OUR TELEGRAM CHANNEL- SKYEDUCATIONOFFICIAL .