Skip to main content

ads1

Class 10th Computer HTML WORKSHEET

 Class 10th Computer HTML WORKSHEET

((1)To display the web content, which mark-up language is needed ?

(a) CML

(b) HTML

 (c) NML

 (d) WML

 

(2) Which of the following is considered as a language for describing web page ?

(a) HTML

 (b) WML

(c) NML

(d) CML

 

(3) Which of the following is the full form of HTML ?

(a) Hot Text Manipulation Language

(b) Hyper Text Manipulation Law

(c) Hyper Text Markup Language

(d) Hidden Text Markup Language

 

(4) Which of the following is the full form of SGML ?

(a) Standardized General Markup Language

(b) System General Manipulation Law

(c) Standardized Genome Markup Law

(d) Standardized Gigabyte Markup Language

 

 

(5) Which of the following refers to an HTML element ?

(a) An opening tag, content and a closing tag

 (b) Angular brackets

 (c) Content

(d) Any of these

 

(6) Which of the following can be used to specify additional formatting along with an HTML

element?

(a) Numbers

 (b) Attributes

(c) Comments

 (d) Contents

 

(7) Which of the following refers to a singular tags that do not require content ?

(a) Compete

 (b) Empty

 (c) Null

 (d) Void

 

(8) Which of the following attributes type can appear along with any tag ?

(a) Unique         

(b) Universal

 (c) Trivial

 (d) Preliminary

 

(9) Which type of information can be incorporated in an HTML document ?

(a) Multimedia information

(b) Text information

(c) Address and path of filename

(d) All of these

 

(10) Which of the following is an editor to edit an HTML document ?

(a) SciTE

(b) BriTE

(c) LigHT

(d) SpriTE

 

(11) Which of the following tag is used to mark a begining of paragraph ?

A.<TD>

 B.<br>

  C.<P>

 D.<TR>

 

(12)www is based on which model?

A.Local-server

  B.Client-server

  C.3-tier

 D.None of these

 

 

(13).HTML uses ___________

A.User defined tags   B.Pre-specified tags

C.Fixed tags defined by the language D.Tags only for linking

 

(14)The year in which HTML was first proposed _______.

A.1990                   B.1980

C.2000                    D.1995

 

(15).Who is Known as the father of World Wide Web (WWW)?

A.Robert Cailliau               B.Tim Thompson

C.Charles Darwin              D.Tim Berners-Lee

 

(16). Which works similar to <b> element?

a) <strong>                         c) <i>

b) <em>                                d) <blockquote>

 

 

(17) Which of the following tag represents preformatted contents? 

(A) <p>...</p>                   (B) <pre>... </pre>

 (C)<u>...</u>                   (D) <tt> ... </tt>

 

(18) Which of the following refers to a singular tags that do not require content? 

(A) Compete  (B) Empty  (C) Null  (D) Void

 

(19).Which of the following attribute type can appear along with any tag? 

(A) Unique  (B) Universal  (C) Trivial  (D) Preliminary

 

(20)The content of a __________ element is written in typewriter.

(a)<br>  (b)<tt>  (c)<hr>  (d)<body>

 

21) Which of the following form basic two sections of an HTML code ?

(a) Head and body

(b) Physical and logical

(c) Code and browser

(d) Meta-tags and body

 

(22) The meta-tags in an HTML document are written in which of the following section ?

(a) Body

(b) Code

(c) Head

(d) Special

 

(23) Which of the following about a web page is described when a meta-tag is used in

HTML page ?

(a) Author, purpose and keywords

(b) Layout

(c) Style

(d) Size

 

(24) Title of a web page is embedded within which of the following tag ?

(a) <p> and </p>

(b) <body> and </body>

(c) <title> and </title>

(d) <h1> and </h1>

 

(25) In which of the following sections can we add comments in HTML document ?

(a) Head

(b) Body

(c) Both head and body

(d) Either head or body

 

(26) Which of the following is used to specify a colour in HTML code ?

(a) Colour code in hexadecimal

(b) Colour code in decimal

(c) Colour mixing model

(d) Pixel in percentage

 

(27) Which of the following is used to set a visited link in HTML code ?

(a) alink

(b) vlink

(c) before link

(d) after link

 

(28) Which of the following is used to set an active link in HTML code ?

(a) alink

(b) vlink

(c) before link

(d) after link

 

(29) Which of the following are two broad classes of formatting character in HTML ?

(a) Physical and logical

(b) Internal and external

(c) Temporary and permanent

(d) Head and body

(30)Which writing of head segment it written within which tags?

(a)<head>...</head>     (b)<head>...<!head>

(c)<head>...<\head>     (d)<head>...<%head>

(31)In what segments of HTML is meta-tag written?

(a)Head                (b)Body

(c)Title                  (d) All of the above

(32) Which tags are used to put comments in HTML?

(a) </-- .... -->                    (b)</-- .... --/>  

(c)<-- .... --!>                      (d)<!-- .... -->

(33) What is full form of JPG ?

(a)Joint Photo Electronic Group                                  (b)Joint Picture Electronic Group

(c)Joint Photo Expert Group                       (d)Joint Picture Expert Group    

 

(34) Which code will you use to show yellow color in background of HTML?

(a)<body bgcolor ="yellow">

(b)<body backcolor ="yellow"

(c)<body background ="yellow"

(d) All of the above

(35)Which tag is used when a text is cut off?

(a)<tt>.....</tt>

(b)<strike>......</strike>

(c)<sub>....</sub>

(d)<sup>....</sup>

 

(36) Which attribute dcide the color of the text?

(a)fcolor  

(b)bgcolor

(c)fontcolor

(d)color

 

(37)Out of following, which indicate HTML extension?

(a).h

(b).hmt

(c).html

(d).hmlt

 

(38)In HTML to display the body section, which tag is used?

(a)<html>....</html>

(b)<body>....</body>

(c)<base>.....</base>

(d)<main>.....</main>

 

(39) To display the text bold, which tag is used ?

(a)<tt>  (b)<strong>        (c)<sup>              (d)<lower>

 

(40)Which of the following tag displays the text in typewriter format?

(a)<t>   (b)<tw>               (c)<tt>  (d)<twt>    

 

(41)Which of the following tag is used to insert a video file into an HTML document ?

(a) img

(b) image

(c) href

(d) ime

 

 

(42) As the image element does not cause a line break, it is also referred to as which of

the following ?

 (a) An online image        (b) An inline image

(c) An outline image       (d) Blank image

(43) Which one of the following is a valid image file format ?

(a) Img

(b) Move

(c) Mp3

(d) Png

 

(44) Which of the following is provided when we use alt attribute of an image ?

(a) Alternative description

(b) Alt key definition

(c) Alternative image

(d) Alternative HTML link

(45) Which of the following attributes specify the values of height and width of the image

in pixels ?

(a) Img src           (b) Height and width

(c) H and V          (d) Any of the above

 

(46) Which of the following is not a valid image format ?

(a) Imv

(b) Png

(c) Bmp

(d) Gif

 

(47) Which of the following concept is used to display whole image as a link ?

(a) Image as hot spot

(b) Hot text

(c) Active link

(d) Any of this

 

(48) Which of the following are the two types of image maps ?

(a) Shopper side and user side   (b) Server side and client side

(c) Vendor side and supplier side (d) All of these

 

(49) Which of the following tag is used to add an image map ?

(a) Image name

(b) Htemp

(c) Map

(d) Alt

 

(50)The ______ tag defines an image in an HTML page.

(A) <imge>

(B) <image>

(C )<img>

(D) <pic>

 

(51)Which of the following pair of attribute is required for img tag ?

(A) img and src

(B) src and alt

(C) img and alt

(D) src and a

(52)__________ attribute is used to display an image ?

(A) val attribute

(B) source attribute

(C) src attribute

(D) srs attribute

 

(53)If the image cannot be displayed then _______ specifies an alternate text for an image.

(A  )alt attribute

(B) caption attribute

(C) value attribute

(D)text attribute

 

(54)If the image cannot be displayed then _______ specifies an alternate text for an image.

(A )alt attribute

(B) caption attribute

(C)) value attribute

(D) text attribute

(55) What is the full form of URL?

A.Universal Research List

B. Universal Resource List

C. Uniform Resource Locator

D. Uniform Research Locator

 

(56) What is the full form of png ?

(A) Portable Natural Graphics

(B) Portable Network Graph

(C) Pretty Network Graphics

(D )Portable Network Graphics

 

(57) The ________________ attribute specify the values of height and width of the image in pixels.

(a) height ,length

(b) length , width

(c) height ,width

 (58) An image on a web page can be highlight with ____________

(a)picture

(b)border

(c)Circle

(d)ALL of these

 

(59) Small images are also known as __________

(a)imagenail       (b) thumbnail

(c) smallnail        (d) viewnail

 

(60) bmp stands for_________

A. Byte map                       B. Bit map

C. Byte map process       D. Bit map process

 

(61) Which of the following is specified by <ul> in HTML?

(a) Simple list                     (b) Ordered list

(c) Unordered list            (d) Simple table

 

(62) Which of the following is specified by <ol> in HTML?

(a) Simple list                     (b) Ordered list

(c) Unordered list            (d) Simple table

 

(63) Which of the following tag pairs identifies items of lists?

(a) <li> and </li>                               (b) <items> and </items>

(c) <object> and </object>         (d) <table> and </table>

 

(64) Which of the following tag pairs are used to print list without bullets ?

(a) <ol> and </ol>            (b) <ul> and </ul>

 (c) <dt> and </dt>          (d) <pt> and <pt>

 

(65) Which of the following tag pairs are used to define a row of a table ?

(a) <tr> and </tr>            (b) <td> and </td>

(c) <col> and </col>        (d) <row> and </row>

 

(66) Which of the following attribute is used when a cell spans across more than one row ?

(a) Colspan                         (b) Rowspan

 (c) Span                               (d) Scope

 

(67) Which of the following is used to divide browser window into multiple parts ?

 (a) Frameset                     (b) Elements

 (c) Layout                           (d) Design

(68)Which of the following is used to display an alternative content, in case browser does not support frames ?

(a) Noframe                       (b) Yesframe

(c) Falseframe                   (d) Truefarme

 

(69) Which of the following can be changed in an ordered list in HTML ?

(a) Order of the items                    (b) Start number

 (c) Number style                             (d) All of these

 

(70) Which of the following is an optional entity in an HTML table ?

(a) Caption of the table                                                 (b) Heading of the table

(c) Grouping of columns of the table       (d) All of these

 

(71)Which HTML tag is used to define a table?

A. <tb>                 B. <tl>

C. <table>           D. <tab>

(72) With the help of which tag, is a row defined in HTML?

A. <row>                             B. <table-row>

C. <tablerow>                   D. <tr>

(73) Which one of the following tags is used to add caption to a table?

A. <table-caption>                          B. <tcaption>

C. <caption>                                       D. <tc>

(74) Each cell of the table can be represented by using __________

a) <tr>                                  b) <td>

c) <th>                                  d) <thead>

 

(75)For heading we can use ____________

a) <td>                                 b) <tr>

c) <thead>                          d) <th>

 

(76)Headings of table lies inside ___________

a) <thead>                          b) <tfoot>

c) <th>                                  d) <tbody>

 

 

(77)border-spacing is given in _____________

a) pixels                               b) cm

c) mm                                   d) inch

(78)In HTML tables space between cell content and cell border is called

(a). Cell spacing

b. Cell difference

c. Cell padding

d. All of above

 

(79) How can you make a bulleted list?

a.<list>

b.<nl>

c.<ul>

d.<ol>

 

(80)What is the correct HTML tag for inserting a line break?

a.<br>

b.<lb>

c.<break>

d.<newline>

(81) The correct sequence of HTML tags for starting a webpage is -

(a)Head, Title, HTML, body

(b)HTML, Body, Title, Head

(c)HTML, Head, Title, Body

(d)HTML, Head, Title, Body

 

(82) Which of the following element is responsible for making the text bold in HTML?

(a)<pre>

(b)<a>

(c)<b>

(d)<br>

 

(83)How to create an unordered list (a list with the list items in bullets) in HTML?

(a)<ul>

(b)<ol>

(c)<li>

(d)<i>

 

(84)Which character is used to represent the closing of a tag in HTML?

 

(a)\

(b)!

(c)/

(d).

 

(85) How to create a hyperlink in HTML?

 

(a)<a href = "www.javatpoint.com"> javaTpoint.com </a>

(b)<a url = "www.javatpoint.com" javaTpoint.com /a>

(c)<a link = "www.javatpoint.com"> javaTpoint.com </a>

(d)<a> www.javatpoint.com <javaTpoint.com /a>

 

(86)How to insert an image in HTML?

 

(a)<img href = "jtp.png" />

(b)<img url = "jtp.png" />

(c)<img link = "jtp.png" />

(d)<img src = "jtp.png" />

 

(87) Which of the following tag is used to make the underlined text?

 

(a)<i>

(b)<ul>

(c)<u>

(d)<pre>

 

(88)HTML tags are enclosed in-

 

(a)# and #

(b){ and }

(c)! and ?

(d)< and >

 

(89)Which of the following HTML tag is the special formatting tag?

 

(a)<p>

(b)<b>

(c)<pre>

(d)None of the above

 

(90) Which of the following is the container for <tr>, <th>, and <td> ?

 

(a)<data>

(b)<table>

(c)<group>

(d)All of the above

 

(91) How to insert a background image in HTML?

 

(a)<body background = "img.png">

(b)<img background = "img.png">

(c)<bg-image = "img.png">

(d)None of the above

 

(92) A program in HTML can be rendered and read by -

 

(a)Web browser

(b)Server

(c)Interpreter

(d)None of the above

 

(93)Which HTML tag is used to display the power in expression, i.e., (x2 - y2)?

 

(a)<sup>

(b)<sub>

(c)<p>

(d)None of the above

 

(94) Which of the following tag is used for inserting the largest heading in HTML?

 

(a)<h3>

(b)<h1>

(c)<h5>

(d)<h6>

 

(95) Which of the following is the correct way to create a list using the lowercase letters?

 

(a)<ol alpha = "a" >

(b)<ol type = "a">

(c)<ol letter = "a">

(d)None of the above

 

(96)Which element is also known as root element in any HTML document?

 

a. <!DOCTYPE>

 

b. <HTML>

 

c. <HEAD>

 

d. <BODY>

 

(97) Head and Body elements are nested inside which element?

 

a. DOCTYPE

 

b. HTML

 

c. HEAD

 

d. All of above

 

(98)  For grouping together one or more <h1> to <h6> element what element is used?

a) <header>

b) <hgroup>

c) <div>

d) <section>

 

(99) Which of the following browser does not support wav file format?

a) Opera

b) Firefox

c) Chrome

d) Internet Explorer

 

(100) Which of the following attribute adds audio controls, like play, pause, and volume?

a) audio

b) controls

c) source

d) src

 

LINK TO DOWNLOAD WORKSHEET IN PDF 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 













































































































































ads2

Popular posts from this blog

11. Write a Java program to input basic salary of an employee and calculate its Gross salary according to following:

    11. Write a Java program to input basic salary of an employee and calculate its Gross salary according to following: Basic Salary <= 10000 : HRA = 20%, DA = 80% Basic Salary <= 20000 : HRA = 25%, DA = 90% Basic Salary > 20000 : HRA = 30%, DA = 95% Static Solution :-  class salary {     public static void main(String args[])     {     double basic=20000.50,gross,da,hra;     if(basic <=10000)     {         da = basic * 0.8;         hra = basic *0.2;     }              else if(basic <=20000)     {         da = basic * 0.9;         hra = basic *0.25;     }     else     {         da = basic * 0.95;         hra = basic * 0.3;     }     gross = basic + da + hra;     System.out.println("The Gross Salary is :-"+gross);     } } Output :-  Dynamic Solution :-  class salary {     public static void main(String args[])     {     double basic=20000.50,gross,da,hra;     Scanner in = new Scanner(System.in);     System.out.println("Enter the Basic Salary

1. Given the school result data, analyses the performance of the students on #different parameters, e.g subject wise or class wise.

1. Given the school result data, analyses the performance of the students on #different parameters, e.g subject wise  or class wise. Solution :-   # x-axis is shows the subject and y -axis # shows the markers in each subject # import pandas and matplotlib  import pandas as pd  import matplotlib.pyplot as plt # Simple Line Chart with setting of Label of X and Y axis, # title for chart line and color of line  subject = ['Physic','Chemistry','Mathematics', 'Biology','Computer'] marks =[80,75,70,78,82] # To draw line in red colour plt.plot(subject,marks,'r',marker ='*')     # To Write Title of the Line Chart plt.title('Marks Scored') # To Put Label At Y Axis plt.xlabel('SUBJECT')           # To Put Label At X Axis plt.ylabel('MARKS')             plt.show() Output :- 

24.Create a Data Frame quarterly sales where each row contains the item category, item name, and expenditure. Group the rows by the category and print the total expenditure per category.

24.Create a Data Frame quarterly sales where each row contains the item category, item name, and expenditure. Group the rows by the category and print the total expenditure per category. import pandas as pd  # initialize list of lists data = [['CAR','Maruti',1000000],['AC','Hitachi',55000],['AIRCOLLER','Bajaj',12000], ['WASHING MACHINE','LG',15000],['CAR','Ford',7000000],['AC','SAMSUNG',45000],['AIRCOLLER','Symphony',20000],['WASHING MACHINE','Wirlpool',25000]] Col=['itemcat','itemname','expenditure'] # Create the pandas DataFrame qrtsales = pd.DataFrame(data,columns=Col) # print dataframe.  print (qrtsales) qs=qrtsales.groupby('itemcat')  print('Result after Filtering Dataframe')  print(qs['itemcat','expenditure'].sum()) Output :-