Professional Documents
Culture Documents
HTML and Css
HTML and Css
<!Doctype html>
<html>
<head>
<title>Galwin Technologies</title>
</head>
<body>
</body>
</html>
<!Doctype html>
<html>
<head>
<title>Galwin Technologies</title>
<style>
h4{
color:yellow;
background:black;
width:300px;
</style>
</head>
<body>
<a class="ece" href="list.html">list</a>
<h1>heading</h1>
<h2>heading</h2>
<h3>heading</h3>
<h4>heading</h4>
<h5>heading</h5>
<h6>heading</h6>
<h4>heading</h4>
<p align="justify">Your basic sitemap has been created and submitted. You'll need to
come back regularly to resubmit, or Google may mark your site as inactive.Your basic sitemap has been
created and submitted. You'll need to come back regularly to resubmit, or Google may mark your site as
inactive.
Your basic sitemap has been created and submitted. You'll need to come back regularly
to resubmit, or Google may mark your site as inactive.
</p>
<div style="height:400px;width:300px;background:green">
<p align="justify">Your basic sitemap has been created and submitted. You'll need to
come back regularly to resubmit, or Google may mark your site as inactive.Your basic sitemap has been
created and submitted. You'll need to come back regularly to resubmit, or Google may mark your site as
inactive.
Your basic sitemap has been created and submitted. You'll need to come back regularly
to resubmit, or Google may mark your site as inactive.
</p>
</div>
<!-- text formats -->
>
<
©
®
A
Z
<h4>heading</h4>
<h4 style="background:yellow">heading</h4>
<hr style="width:400px">
<hr>
<pre>
tamil - 98
English - 100
</pre>
<!-- Lists
Unorder list
order list
Definition list
-->
<li>html</li>
<li>css</li>
<li>js</li>
<li>bootstrap</li>
<li>php</li>
</ul>
<li>html</li>
<li>css</li>
<li>js</li>
<li>bootstrap</li>
<li>php</li>
</ol>
HTML
</dt>
</dd>
<dt>
css
</dt>
<dd>
Cascading Stylesheet
</dd>
</dl>
</a>
Table
<table border="1" cellpadding="10" cellspacing="0">
<tr>
<td rowspan="3">html</td>
<td colspan="3">php</td>
</tr>
<tr>
<td>java</td>
<td>bootstrap</td>
<td>js</td>
</tr>
<tr>
<td>python</td>
<td>c</td>
<td>c++</td>
</tr>
</table>
<p align="justify">Your basic sitemap has been created and submitted. You'll need to come back
regularly to resubmit, or Google may mark your site as inactive.Your basic sitemap has been created and
submitted. You'll need to come back regularly to resubmit, or Google may mark your site as inactive.
</p>
</marquee>
<object>
</embed>
</object>
Form
<form >
<h2>For admission</h2>
<label>Name: </label>
<label>Password: </label>
<label>Time: </label>
<label>Email: </label>
<label>Languages: </label>
<BR><BR>
<label>Gender: </label>
<label>country: </label>
<option value="India">India</option>
<option value="Russia">Russia</option>
<option value="Pakistan">Pakistan</option>
</select><BR><BR>
<label>Photo: </label>
<label>Trichy: </label>
</textarea><BR><BR>
</form>
<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!
1d3918.7328463871227!2d78.69251831462304!3d10.831744992284019!2m3!1f0!2f0!3f0!3m2!1i1024!
2i768!4f13.1!3m3!1m2!1s0x3baaf5b105690a8d%3A0x49eb2041bf7f863d!2sGalwin%20Technology
%20-%20CSE%2C%20EEE%2C%20ECE%2C%20IT%20Final%20Year%20Engineering%20Project
%20Center%20in%20Trichy!5e0!3m2!1sen!2sin!4v1613126805285!5m2!1sen!2sin"
</body>
</html>
Layout:
<!Doctype html>
<html>
<head>
<title>Galwin Technologies</title>
</head>
<body>
<div class="wrapper">
<header>
<div class="logo">
</div>
<div class="company_name">
</div>
</header>
<nav>
</nav>
<section>
</section>
<footer>
</footer>
</div>
</body>
</html>
CSS – Cascading stylesheet
CSS defines the layout and appearence of the webpage.
/*............*/
Syntax:
selector
property-name1:value;
property-name2:value;
Example:
h2
color:green;
}
Types of placing a stylesheet
Inline stylesheet
Internal stylesheet
External stylesheet
Inline stylesheet:
Example:
<h2 style="color:green">heading1</h2>
<h2>heading</h2>
Internal stylesheet:
style used to define the tags within single HTML page only.
Example
<head>
<title>....</title>
<style type="text/css">
h2{
color:green;
</style>
</head>
External stylesheet:
Style used to define the tags in each and every HTML page in
a website.
eg:style.css
<head>
<title>...</title>
</head>
Style.css
body
background:#80808052;
color:blue;
font-family:arial;
margin:0;
padding:0;
h1,h2
color:black;
text-align:center;
text-decoration:overline;
text-transform:capitalize;
/* x y size color */
letter-spacing:10px;
font-weight:normal;
font-style:italic;
background:yellow;
padding:20px;
margin:20px;
h1:hover{
background:white;
color:blue;
p{
word-spacing:20px;
line-height:2em;
text-indent:80px;
ul{
list-style:none;
background:orange;
ul li
background:#00000075;
height:50px;
margin:20px;
width:100px;
ul li:hover{
background:white;
color:black;
dl dt{
color:green;
dl dd{
background:black;
color:white;
padding:10px;
width:200px;
a{
color:yellow;
text-decoration:none;
background:black;
a.ece{
color:green;
background:white;
margin-top:10px;
.ece:hover
background:blue;
.img_first{
width:331px;
height:331px;
}
.img_first:hover{
border-radius:180px;
opacity:0.8;
#utag{
font-size:40px;
input[type="text"]
background:pink;
input[type="password"]
background:#0080001c;
width:200px;
height:40px;
select{
font-size:30px;
select{
font-size:15px;
textarea {
width:400px;
height:200px;
input[type="submit"]{
background:blue;
color:white;
margin-left: 50px;
Layout.css
body{
background:#80808029;
color:black;
font-family:arial;
margin:0;
padding:0;
.wrapper{
width:1024px;
height:768px;
background:;
margin:0 auto;
header{
width:1024px;
height:150px;
background-image:url(banner-1.jpg);
float:left;
.logo{
width:224px;
height:150px;
background:;
float:left;
.company_name{
width:800px;
height:150px;
background:;
float:left;
nav{
width:1024px;
height:50px;
background:gray;
float:left;
section{
width:1024px;
height:528px;
background:red;
float:left;
footer
width:1024px;
height:40px;
background:blue;
float:left;