Professional Documents
Culture Documents
Topic No 1 Advanced Web Designing (Programs)
Topic No 1 Advanced Web Designing (Programs)
Q.7) Programs
Solution:
<!DOCTYPE HTML>
<html>
<head>
<title>Titan Fastrack</title>
<style>
p{color:blue;}
</style>
</head>
<body>
<h1>Titan Fastrack</h1>
<p>
</p>
</body>
</html>
Output:
2) Write html5 code with CSS as follows-
1. To Create form to accept name, age, email address, from the user.
2. Create a submit button to send the data.
3. The heading of the form should have a background colour and a
different font style.
Solution:
<!DOCTYPE HTML>
<html>
<head>
<title>
</title>
<style>
h1{
background-color: pink;
font-style: italic;
text-align: center;
</style>
</head>
<body>
<form>
Name<input type="text" name="form-name"><br><br>
</form>
</body>
</html>
Output:
3) Write Html5 code with CSS as Follows-
Solutions:
<!DOCTYPE HTML>
<html>
<head>
<style>
section{background-
color:blue;width:50%height:50%;float:left;color:black;fontsize-30px;outline-
style:solid;}
aside{background-
color:green;width:50%height:50%;float:left;color:black;fontsize-30px;outline-
style:solid;}
</head>
</style>
<body>
<ol>
<li>Agra</li>
<li>Paris</li>
<li>London</li>
</ol>
<ul>
<li>Taj Mahal</li>
<li>Eiffel Tower</li>
<li>Big Ben</li>
</ul>
</body>
</html>
OUTPUT: