0% found this document useful (0 votes)
2 views

task-9

The document discusses various types of malware, including ransomware, spam, and adware, explaining how they operate and spread. It also provides an overview of HTML, its structure, basic tags, and how to create a personal profile web page using HTML. Additionally, it includes a series of viva questions related to HTML concepts and practices.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

task-9

The document discusses various types of malware, including ransomware, spam, and adware, explaining how they operate and spread. It also provides an overview of HTML, its structure, basic tags, and how to create a personal profile web page using HTML. Additionally, it includes a series of viva questions related to HTML concepts and practices.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

The malware restricts user access to the computer either by encrypting files on the hard drive or locking

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.

18) What Is Spam?

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.

19) What Is Adware?

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.

20) How Malware Spreads?

Malware is a program that must be triggered or somehow executed before it can infect your computer
system and spread to others.

Here are some examples on how malware is distributed:

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.

AIM: To create home page using HTML

Hardware Requirements: Personal Computer

Software Requirements: Operating System, Web Browser, Notepad

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>

<title>Title of the Document </title>

</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

HTML 2.0 1995

HTML 3.2 1997

HTML 4.01 1999

XHTML 1.0 2000

HTML5 2012

XHTML5 2013

Basic HTML Tags:

S.No. Tag Description Example

92
ITWORKSHOP LAB MANUAL
1 <!--...--> Defines a comment <!--This is a comment. Comments are not
displayed in the browser-->

2 <a> Defines a hyperlink <a href="http://www.google.co.in">Google</a>

3 <abbr> Defines an abbreviation The <abbr title="Hyderabad">HYD</abbr>

4 <audio>Ne Defines sound content <audio>


w <source src="horse.mp3" type="audio/mpeg">

</audio>

5 <b> Defines bold text <b>and this is bold text</b>

6 <body> Defines the document's body <body>The content of the document....</body>

7 <br> Defines a single line break This text contains<br>a line break.

8 <caption> Defines a table caption <caption>Caption for Table</caption>

9 <center> Defines centered text <center>This text will be center-


aligned.</center>

10 <dl> Defines a description list <dl>


<dt>Coffee</dt> <dd>Black hot drink</dd>

</dl>

11 <footer>N Defines a footer for a document or section <foter>Page No:1</footer>

12 <frame> Defines a window (a frame) in a frameset <frameset cols="25%,*,25%">


<frame src="frame_a.htm">
<frame src="frame_b.htm">
13 <frameset> Defines a set of frames <frame src="frame_c.htm">
</frameset>

14 <h1> to Defines HTML headings <h1>This is heading 1</h1>


<h6> <h2>This is heading 2</h2>
<h3>This is heading 3</h3>
<h4>This is heading 4</h4>
<h5>This is heading 5</h5>
<h6>This is heading 6</h6>

15 <head> Defines information about the document <head>


<title>Title of the document</title>
</head>

93
ITWORKSHOP LAB MANUAL
16 <hr> Defines a thematic change in the content <p> </p><hr> Horizontal line<p></p>

17 <html> Defines the root of an HTML document <html> </html>

18 <i> Italic the Text <i> Italic Word </i>

19 <img> Defines an image <img src="smiley.gif" height="42" width="42">

20 <li> Defines a list item <li>Coffee</li>


<li>Tea</li>

21 <mark>ew Defines marked/highlighted text <mark>text background color</mark>

22 <ol> Defines an ordered list <ol>


<li>Coffee</li>
<li>Tea</li>
</ol>

23 <p> Defines a paragraph <p>This is some text in a paragraph.</p>

24 <select> Defines a drop-down list <select>


<option value="volvo">Volvo</option>
<option value="mercedes">Mercedes</option>
</select>

25 <small> Defines smaller text <small>shows small text</small>

26 <table> Defines a table <table border="1">


<tr>
<th>Month</th>
27 <td> Defines a cell in a table <th>Savings</th>
</tr>
28 <tr> Defines a row in a table <tr>
<td>January</td>
<td>$100</td>
29 <th> Defines a header cell in a table </tr>
</table>

30 <textarea> Defines a multiline input control (text area) <textarea rows="4" cols="50">
Enter the message
</textarea>

31 <thead> Groups the header content in a table <thead>


<tr>
<th>Month</th>
<th>Savings</th>
</tr>
</thead>

94
ITWORKSHOP LAB MANUAL
32 <title> Defines a title for the document <title>HTML Reference</title>

33 <ul> Defines an unordered list <ul>


<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ul>

34 <u> Defines text that should be stylistically <p>This is a <u>paragraph</u>.</p>


different from normal text

35 <marquee> The marquee tag used to scroll the text up, <marquee direction="right">Welcome to
down, left or right. HTML</marquee>

TASK: Creating a Student Personal Profile as a Web Page

HTML Code:

<html>

<head>

<title> Personal Data </title>

</head>

<body>

<marquee direction="right">Welcome to HTML</marquee>

<header><u><center><b>Personal Profile</b></center></u><header>

<text>

Name: <br>

Father Name: <br>

Date of Birth: <br>

<img src="New Picture.png" height="150" width="150" align="right" hspace="500"><br>

Address: <br><textarea columns=15 rows=4></textarea> <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>Won 1st Prize in School Quiz competiotion</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

2) What are the extensions to a HTML page while saving in a Notepad?


Ans: .html, .htm

3) How can you include comments in HTML?


Ans: An HTML comment begins with "<!--", ends with "-->

Ex: <!-- This is a comment. -->

4) What is <title> tag?


Ans: It shows the title of the HTML page

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.

6) What is semantic HTML?

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.

7) What is image map?

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.

8) How to insert a copyright symbol on a browser page?

can insert a copyright symbol by using &copy; or &#169; in an HTML file.

9) How do you keep list elements straight in an HTML file?

You can keep the list elements straight by using indents.

10) Does a hyperlink only apply to text?

No, you can use hyperlinks on text and images both.

11) What is a style sheet?

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.

12) Can you create a multi colored text on a web page?

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.

13) Is it possible to change the color of the bullet?

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.

14) What is a marquee?

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.

15) How many tags can be used to separate section of texts?

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.

1. <body background = "image.gif">

Here, replace the "image.gif" with the name of your image file which you want to display on your web
page.

17) What are empty elements?

HTML elements with no content are called empty elements. For example: <br>, <hr> etc.

18) What is the use of span tag? Give one example.

The span tag is used for following things:

o For adding color on text


o For adding background on text
o Highlight any color text etc.

Example:

1. <p>
2. <span style="color:#ffffff;">
3. In this page we use span.
4. </span>
5. </p>

19) What is the use of iframe tag?

An iframe is used to display a web page within a web page.

Syntax:

1. <iframe src="URL"></iframe>

Example:

1. <iframe src="demo_iframe.html" width="200px" height="200px"></iframe>

Target to a link:

1. <iframe src="http://www.javatpoint.com" name="iframe_a"></iframe>

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.

21) How do you insert a copyright symbol on a browser page?

To insert the copyright symbol, you need to type &copy; 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.

26) What is the use of alternative text in image mapping?


When you use image maps, it can easily become confusing and difficult to determine which hotspots
correspond to which links. Using alternative text lets, you put a descriptive text on each hotspot link.

27) Do older HTML files work on newer browsers?


Yes, older HTML files are compliant to the HTML standard. Most older files work on the newer browsers,
though some features may not work.

28) Does a hyperlink apply to text only?

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

You might also like