You are on page 1of 2

<!

DOCTYPE HTML>
<html>
<head>
<title>CSS CODING</title>
<style>
h1{background-color:green;color:red;font-familiy:comic sans ms}
p{color:blue}
</style>
</head>
<body>
<h1>Tata Motors</h1>
<p>Tata Motors is owned by honourable MR Ratan Tara. It is a leading automoblie
manufacturere company with their headquartrs in Mumbai.</p>
</body>
</html>

<!DOCTYPE HTML>
<html>
<head>
<title>CSS CODING</title>
<style>
h1{background-color:yellow;font-style:bold}
</style>
</head>
<body>
<h1>Shivam Enterprises</h1>
<form>
ENTER YOUR NAME:<input type="text" name="t1"><br><br>
ENTER YOUR AGE:<input type="number" name="t2"><br><br>
ENTER YOUR EMAIL ID:<input type="email" name="t3"><br><br>
<input type="button" value="submit" name="t4">
</form>
</body>
</html>

<!DOCTYPE HTML>
<html>
<head>
<title>CSS CODING</title>
<style>
ol{float:left}
ul{float:right}
</style>
</head>
<body>
<ol>
<li>Mumbai</li>
<li>Pune</li>
<li>Panji</li>
<li>Mahabaleshwar</li>
</ol>
<ul>
<li>Gate way of India</li>
<li>Shaniwar wada</li>
<li>Colva Beach</li>
<li>Niddle Point</li>
</ul>
</body>
</html>

You might also like