Download as pdf or txt
Download as pdf or txt
You are on page 1of 10

Web Technology Lab Assignment 1

Name : Om Shree
Roll no : 2006077
Batch : IT - 4

Q1 : Write a HTML code to display text "Hello World".


Code :-
<html>

<head>
<title>Hello World</title>
</head>

<body>
Hello World
</body>

</html>
Output :-
Name : Om Shree
Roll no : 2006077

Q2 : Write a HTML code to display the effect of h1 to h6 heading text.


Code :-
<!DOCTYPE html>
<html lang="en">
<head>
<title>Header Tags</title>
</head>
<body>
<h1>Heading Tags 1</h1>
<h2>Heading Tags 2</h2>
<h3>Heading Tags 3</h3>
<h4>Heading Tags 4</h4>
<h5>Heading Tags 5</h5>
<h6>Heading Tags 6</h6>
</body>
</html>
Output :-
Name : Om Shree
Roll no : 2006077

Q3 : Write a HTML code to see the effect of 'p' tag.


Code :-
<!DOCTYPE html>
<html lang="en">
<head>
<title>Paragraph Tags</title>
</head>
<body>
<p1>Hi, I am Om Shree and I am an IT sophomore at KIIT
Bhubaneswar.</p1>
</body>
</html>
Output :-
Name : Om Shree
Roll no : 2006077

Q4 :
(a)Write a HTML code to create a hyperlink to the external website.
(b)Create other hyperlinks to navigate within the page.
Code 4(a) :-
<!DOCTYPE html>
<html lang="en">
<head>
<title>External link</title>
</head>
<body>
<a href="https://www.google.com/">GOOGLE</a>
</body>
</html>
Output 4(a) :-
Name : Om Shree
Roll no : 2006077

Code 4(b) :-
<!DOCTYPE html>
<html lang="en">
<head>
<title>Hyperlinks</title>
</head>
<body align=center>
<a name="Index"></a>
<h1>Index</h1>
<a href="#DS">Data Science</a><br>
<a href="#Predictive causal analytics">Predictive causal
analytics</a><br>
<a href="#Prescriptive analytics">Prescriptive analytics</a><br>
<a href="#Machine learning for making predictions">Machine learning for
making predictions</a><br>
<a href="#Machine learning for pattern discovery">Machine learning for
pattern discovery</a><br>
<br>
<a name="DS"></a>
<h1>What is Data Science?</h1>
Data Science is a blend of various tools, algorithms, and machine
learning principles with the goal to discover
hidden patterns from the raw data. But how is this different from what
statisticians have been doing for years?
<br>
<a name="Predictive causal analytics"></a>
<h1>Predictive causal analytics</h1>
Predictive causal analytics – If you want a model that can predict the
possibilities of a particular event in the
future, you need to apply predictive causal analytics. Say, if you are
providing money on credit, then the
Name : Om Shree
Roll no : 2006077

probability of customers making future credit payments on time is a


matter of concern for you. Here, you can
build a model that can perform predictive analytics on the payment
history of the customer to predict if the
future payments will be on time or not.
<a name="Prescriptive analytics"></a>
<h1>Prescriptive analytics</h1>
If you want a model that has the intelligence of taking its own decisions
and the ability to modify it with dynamic
parameters, you certainly need prescriptive analytics for it. This relatively
new field is all about providing advice.
In other terms, it not only predicts but suggests a range of prescribed
actions and associated outcomes.
The best example for this is Google’s self-driving car which I had
discussed earlier too.
The data gathered by vehicles can be used to train self-driving cars. You
can run algorithms on this data to bring
intelligence to it. This will enable your car to take decisions like when to
turn, which path to take,
when to slow down or speed up.
<a name="Machine learning for making predictions"></a>
<h1>Machine learning for making predictions</h1>
If you have transactional data of a finance company and need to build a
model to determine the future trend,
then machine learning algorithms are the best bet. This falls under the
paradigm of supervised learning.
It is called supervised because you already have the data based on
which you can train your machines.
For example, a fraud detection model can be trained using a historical
record of fraudulent purchases.
<a name="Machine learning for pattern discovery"></a>
Name : Om Shree
Roll no : 2006077

<h1>Machine learning for pattern discovery</h1>


If you don’t have the parameters based on which you can make
predictions, then you need to find out the
hidden patterns within the dataset to be able to make meaningful
predictions. This is nothing but the
unsupervised model as you don’t have any predefined labels for
grouping. The most common algorithm used
for pattern discovery is Clustering. Let’s say you are working in a
telephone company and you need to
establish a network by putting towers in a region. Then, you can use the
clustering technique to find
those tower locations which will ensure that all the users receive
optimum signal strength.
<br><br><a href="#Index">Go to Index</a>
</body>
</html>
Output 4(b) :-
Name : Om Shree
Roll no : 2006077

Q5 : Write a HTML code to insert a picture in the web browser.


Code :-
<html>
<head>
<title>IMAGE</title>
</head>
<body>
<img src="icon.png" width="450", height="550">
</body>
</html>
Output :-
Name : Om Shree
Roll no : 2006077

Q6 : Write a HTML code to create your own bio-data.


Code :-
<html>
<head>
<title>RESUME</title>
</head>
<body bgcolor="orange">
<h1 align=center>RESUME</h1>
<img src="icon.png" alt="profile pic" width="220" height=300">
<br>
<br>
<h2>BASIC INFORMATION</h2>
<b>Name : </b>
Om Shree<br><br>
<b>Address : </b>
Deo residence, Patna<br><br>
<b>Date of Birth : </b>
22nd July 2002<br><br>
<b>Age : </b>
19<br><br>
<b>Email id : </b>
2006077@kiit.ac.in<br><br>
<b>Phone Number : </b>
8360195490<br><br>
<b>University : </b>
Kalinga Institute of Industrial Technology<br><br>
<h2>EDUCATIONAL DETAILS</h2>
<b>Elementary : </b>
Graduated<br><br>
<b>High School : </b>
Graduated<br><br>
<b>College : </b>
9.59 CGPA<br><br>
</body>
</html>
Output :-

You might also like