Vous êtes sur la page 1sur 6

Internet Technology Lab (HTML/DHTML/XML/JavaScript )

(CSE 795A)
CSE 7th Sem. 4th Year

1. Start your web page with an <html> tag


i) Add a heading.
ii) Add a title.
iii) Start the <body> section.
iv) Add the following text using <H1> and </H1> tags: This Web page was designed
by (your name)
v) Add the following text using <H2> and </H2> tags: My HTML assignment
vi) Add a horizontal line
vii) Insert an image to your web page.
Note: You should then refer to your image with just the filename,
and NOT the entire pathname to the file.
viii) Add another horizontal line.
ix) Enter a paragraph of text.
Write about things you have learned in html.
Make sure the text in this paragraph is a color other than black, but something one can
see.
Add a link that takes you to your favourite webpage.
x) Start a new paragraph. Add a three item ordered list.
Make it creative (dont just say item 1, item 2, etc and keep it clean)!
xi) Close out your body and html tags.
Program: Q1.html

<!doctype html>
<html>
<head> <center> <u> MY FIRST HTML </u> </center>
<title> 1. ADDING HEADING </title>
</head>
<body bgcolor="cyan">
<h1> THE WEBPAGE WAS DESIGNED BY PRERNA </h1>
<h2> My HTML assignment </h2>
<hr>
<img src="future.jpg"></img>
<hr>
<p style="color:blue"> I have learnt to add headings,write paragraphs,set the font of the writings,adding images
and drawing a horizontal line </p>
<a href="http://www.google.com"> CLICK HERE TO GO TO MY FAVOURITE WEBPAGE </a>
<ol type="I">
<li> Tea </li>
<li> Coffee </li>
<li> Water </li>
</ol>
</body>
</html>

Assignment-

Prerna Lakhotia,Roll no. 87

Internet Technology Lab (HTML/DHTML/XML/JavaScript )

(CSE 795A)
CSE 7th Sem. 4th Year

2. Start your web page with an <html> tag


i) Add a heading.
ii) Add a title.
iii) Start the <body> section.
iv) Start a new paragraph.
Use alignment attribute,
Use bold, italic, underline tags,
Use font tag and associated attributes,
Use heading tags,
Use preserve tag,
Use non breaking spaces (escape character).
Program: Q2.html
<!doctype html>
<html>
<head> <center> MY SECOND HTML </center> </html>
<title> 3.11.2016 </title>
</head>
<body bgcolor="yellow">
<p align="center"> <b> My name is <i><u> Prerna Lakhotia </u></i> and I am doing my
B.tech from <i><u> FIEM </u></i> </p>
<font face="algerian" size="3" color="red"> <center> The subjects name is INTERNET
TECHNOLOGY </center> </font>
<center><h1>C</h1>
<h2>C++</h2>
<h3>JAVA</h3>
<h4>Perl</h4>
<h5>Python</h5>
<h6>Hadoop</h6> </center>

Assignment-

Prerna Lakhotia,Roll no. 87

Internet Technology Lab (HTML/DHTML/XML/JavaScript )

(CSE 795A)
CSE 7th Sem. 4th Year

<style>
pre
{
display:block;
font-family:algerian;
}
</style>
<pre><center>
My hobby is to read story books
AND I want to travel around the whole world. . . </center>
</pre>
</body>
</html>

3. Start your web page with an <html> tag


i) Add a heading.
ii) Add a title.
iii) Start the <body> section.
iv) Start a new paragraph.
Create Hyperlinks:
(a) Within the HTML document.
(b) To another URL.
(c) To a file that can be rendered in the browser.
Program: Q3.html
<!doctype html>
<html>
<head> <center> <u>MY THIRD HTML</u></center></html>
<title> 3.11.2016 </title>
</head>

Assignment-

Prerna Lakhotia,Roll no. 87

Internet Technology Lab (HTML/DHTML/XML/JavaScript )

(CSE 795A)
CSE 7th Sem. 4th Year

<body bgcolor="green">
<p><center>ENVIRONMENT</center></p>
<p>For the biology term, see Environment (biophysical). For other uses, see Environment.
"Natural force" redirects here. It is not to be confused with Natural Force.
For a broader coverage related to this topic, see Nature</p>
<center><a href="knowmore.html">CLICK HERE TO KNOW MORE ABOUT
ENVIRONMENT</a><br><br>
<a href="pic.html">CLICK HERE TO SEE THE PICTURE </a></center>
</body>
</html>
Knowmore.html
<!doctype html>
<html>
<head> <center> <u> MY FOURTH HTML </u> </center>
<title>3.11.2016</title>
</head>
<body bgcolor="Red">
<pre>The natural environment encompasses all living and non-living things occurring
naturally. The term is most often applied to the Earth or some part of Earth. This environment
encompasses the interaction of all living species, climate, weather, and natural resources that
affect human survival and economic activity. [1] The concept of the natural environment can
be distinguished by components:
Complete ecological units that function as natural systems without massive civilized human
intervention, including all vegetation, microorganisms, soil, rocks, atmosphere, and natural
phenomena that occur within their boundaries and their nature
Universal natural resources and physical phenomena that lack clear-cut boundaries, such as
air, water, and climate, as well as energy, radiation, electric charge, and magnetism, not
originating from civilized human activity
In contrast to the natural environment is the built environment. In such areas where man has
fundamentally transformed landscapes such as urban settings and agricultural land
conversion, the natural environment is greatly modified into a simplified human environment.
Even events which seem less extreme such as hydroelectric dam construction, or photovoltaic
system construction in the desert, modify the natural environment into an artificial one.
Though many animals build things to provide a better environment for themselves, they are
not human, hence beaver dams and the works of Mound-building termites are thought of as
natural.
It is difficult to find absolutely natural environments on Earth, and naturalness usually varies
in a continuum, from 100% natural in one extreme to 0% natural in the other. More precisely,
we can consider the different aspects or components of an environment, and see that their
degree of naturalness is not uniform.[2] If, for instance, in an agricultural field, the
mineralogic composition and the structure of its soil are similar to those of an undisturbed
forest soil, but the structure is quite different.

Assignment-

Prerna Lakhotia,Roll no. 87

Internet Technology Lab (HTML/DHTML/XML/JavaScript )

(CSE 795A)
CSE 7th Sem. 4th Year

Natural environment is often used as a synonym for habitat. For


instance, when we say that the natural environment of giraffes is the savanna.
</pre>
</body>
</html>
pic.html
<!doctype html>
<html>
<head> <center> <u> MY FIFTH HTML </u> </center> </html>
<title> 3.11.2016 </title>
</head>
<body bgcolor="yellow">
<hr>
<br>
<center> <img src="pic.jpg"></img></center>
<hr>
<br>
<center> <img src="pic1.png"></img></center>
</body>
</html>

Assignment-

Prerna Lakhotia,Roll no. 87

Internet Technology Lab (HTML/DHTML/XML/JavaScript )

(CSE 795A)
CSE 7th Sem. 4th Year

Assignment-

Prerna Lakhotia,Roll no. 87

Vous aimerez peut-être aussi