task-9
task-9
down the system and displaying messages that are intended to force the user to pay the malware creator
to remove the restrictions and regain access to their computer.
Spam is email that you did not request and do not want.
One person's spam is another's useful newsletter or sale ad.
Spam is a common way to spread viruses, trojans, and the like.
Adware (short for advertising-supported software) is a type of malware that automatically delivers
advertisements.
Common examples of adware include pop-up ads on websites and advertisements that are displayed by
software.
Often times software and applications offer “free” versions that come bundled with adware.
Malware is a program that must be triggered or somehow executed before it can infect your computer
system and spread to others.
Social network.
Pirated software.
Removable media.
Emails.
Websites.
PROBLEM 9:
Develop your home page using HTML consisting of your photo, name, address and education details as a table
and your skill set as a list.
THEORY:
HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language. A markup
language is a set of markup tags. The tags describe document content. HTML documents contain HTML tags and
plain text. HTML documents are also called web pages.
HTML tags are keywords (tag names) surrounded by angle brackets like <html>.HTML tags normally come
in pairs like <b> and </b> i.e. Start Tag (<>) and End Tag (</>).
91
ITWORKSHOP LAB MANUAL
HTML Page Structure
<html>
<head>
</head>
<body>
……….
</body>
</html>
The text between <html> and </html> describes the web page
The text between <body> and </body> is the visible page content
The text between <head> and </head> is the description about the document.
The text between <title> and </title> shows the title of the document
HTML Versions
Version Year
HTML 1991
HTML+ 1993
HTML5 2012
XHTML5 2013
92
ITWORKSHOP LAB MANUAL
1 <!--...--> Defines a comment <!--This is a comment. Comments are not
displayed in the browser-->
</audio>
7 <br> Defines a single line break This text contains<br>a line break.
</dl>
93
ITWORKSHOP LAB MANUAL
16 <hr> Defines a thematic change in the content <p> </p><hr> Horizontal line<p></p>
30 <textarea> Defines a multiline input control (text area) <textarea rows="4" cols="50">
Enter the message
</textarea>
94
ITWORKSHOP LAB MANUAL
32 <title> Defines a title for the document <title>HTML Reference</title>
35 <marquee> The marquee tag used to scroll the text up, <marquee direction="right">Welcome to
down, left or right. HTML</marquee>
HTML Code:
<html>
<head>
</head>
<body>
<header><u><center><b>Personal Profile</b></center></u><header>
<text>
Name: <br>
<u><b>Education Details</b></u><br>
<table border="1">
<tr>
95
ITWORKSHOP LAB MANUAL
<th>S.No.</th>
<th>Qualification</th>
<th>College/University</th>
<th>Year passing</th>
<th>Percentage></th>
</tr>
<tr>
<td>1</td>
<td>SSC</td>
<td>AP Board</td>
<td>2003</td>
<td>72</td>
</tr>
<tr>
<td>2</td>
<td>Intermediate</td>
<td>AP Board</td>
<td>2005</td>
<td>72</td>
</tr>
<tr>
<td>3</td>
<td>B.Tech</td>
<td>JNTUH</td>
<td>2009</td>
<td>66</td>
</tr>
<tr>
<td>4</td>
<td>M.Tech</td>
96
ITWORKSHOP LAB MANUAL
<td>JNTUH</td>
<td>2012</td>
<td>70</td>
</tr>
</table>
<b><u>Skill Set:</b></u>
<ul>
<li>Cricket Player</li>
<li>etc.</li>
</ul>
</body>
</html>
OUTPUT:
97
ITWORKSHOP LAB MANUAL
Result: Creating a Sample Web Page for student personal profile is completed by using HTML Tags.
Viva Questions:
1) What is HTML?
Ans: HTML is a Hyper Text Markup Language used to design the Web Pages
5) What is <br> tag? Is there any end tag for this like </br>?
98
ITWORKSHOP LAB MANUAL
Ans: It is used to separate the lines or to start with a new line. End tag </br> is required for this tag.
Semantic HTML is a coding style. It is the use of HTML markup to reinforce the semantics or meaning
of the content. For example: In semantic HTML <b> </b> tag is not used for bold statement as well as
<i> </i> tag is used for italic. Instead of these we use <strong></strong> and <em></em> tags.
Image map facilitates you link many different web pages using a single image. You can define shapes in
images that you want to make part of an image mapping.
A style sheet is used to build a consistent, transportable, and well designed style template. You can add
these templates on several different web pages.
Yes. To create a multicolor text on a web page you can use <font color ="color"> </font> for the specific
texts you want to color.
The color of the bullet is always the color of the first text of the list. So, if you want to change the color of
the bullet, you must change the color of the text.
Marquee is used to put the scrolling text on a web page. You should put the text which you want to scroll
within the <marquee>......</marquee> tag.
There are three tags used to separate the texts. i.e. usually <br> tag is used to separate line of texts. Other
tags are<p> tag and <blockquote> tag.
99
ITWORKSHOP LAB MANUAL
16) How to make a picture a background image of a web page?
To make a picture a background image on a web page, you should put the following tag code after the
</head> tag.
Here, replace the "image.gif" with the name of your image file which you want to display on your web
page.
HTML elements with no content are called empty elements. For example: <br>, <hr> etc.
Example:
1. <p>
2. <span style="color:#ffffff;">
3. In this page we use span.
4. </span>
5. </p>
Syntax:
1. <iframe src="URL"></iframe>
Example:
Target to a link:
100
ITWORKSHOP LAB MANUAL
20) What is SVG?
HTML SVG is used to describe the two dimensional vector and vector/raster graphics.
21) Can attribute values be set to anything or are there specific values that they accept?
Some attribute values can be set to only predefined values. Other attributes can accept any numerical value
that represents the number of pixels for a size.
To insert the copyright symbol, you need to type © or & #169; in an HTML file.
22) How do you create links to sections within the same page?
Links can be created using the <a> tag, with referencing through the use of the number (#) symbol. For
example, you can have one line as <a href=”#topmost”>BACK TO TOP</a>, which would result in the
words “BACK TO TOP” appearing on the webpage and links to a bookmark named topmost. You then
create a separate tag command like <a name=”topmost”> somewhere on the top of the same webpage so that
the user will be linked to that spot when he clicked on “BACK TO TOP”.
24) Is there any way to keep list elements straight in an HTML file?
By using indents, you can keep the list elements straight. If you indent each subnested list in further than the
parent list that contains it, you can at a glance determine the various lists and the elements that it contains.
25) If you see a web address on a magazine, to which web page does it point?
Every web page on the web can have a separate web address. Most of these addresses are relative to the top-
most web page. The published web address that appears within magazines typically points this top-most
page. From this top level page, you can access all other pages within the website.
No, hyperlinks can be used in the text as well as images. That means you can convert an image into a link
that will allow users to link to another page when clicked. Surround the image within the <a href=”
“>…</a> tag combinations.
29) If the user’s operating system does not support the needed character, how can the symbol be
represented?
In cases wherein their operating system does not support a particular character, it is still possible to display
that character by showing it as an image instead.
30) How do you change the number type in the middle of a list?
101
ITWORKSHOP LAB MANUAL