You are on page 1of 4

1. CSS stands for C.

Cascading Style Sheets

2. The <link> tag goes inside C.the head section:

3. What CSS define in HTML? D.How to display HTML elements

4. How do you insert a comment in a CSS file? A./* this is a comment */

5. Which HTML attribute is used to define inline styles? C.style

6. CSS is also created and maintained by group of people within B.W3C

7. CSS1:Developed in …….. by the W3C, describes CSS language and simple visual formatting for
all HTML tags. D.1996

8. From which version of CSS under development since the late 1990s, added a lot of extra
features? C.CSS3

9. How many types of levels in style sheets? C.three level

10. The Advantages of CSS is

A.Seperation of document contents from document pr B.Superior Styles to HTML:

C.High Performance: D.All of the above

11. An external style sheet is ideal when the style is applied to A.many pages

12. Which of the style sheet is also known as Embedded Style Sheet?

A.Document Style Sheet:

13. Which is the superior styles of html? A.css

14. The Disadvantages of Cascading Style Sheets is C.Browsers Compatibility:

15. A CSS declaration always ends with a ……………., and declaration groups are surrounded by
A.semicolon and curly brackets

16. An internal style sheet should be used when a single document has a A.unique style

17. A ……… tag is used to specify that the browser is to fetch and use an external style sheet file
B.<link>

18. To use inline styles you use the style attribute in the B.relevant tag

19. To inserting a style sheet A.External style sheet B.Internal style sheet:

C.Inline style sheet:D.All of the above

20. CSS provided the basic styles such as A.specifying font and font styles

B.setting margins C.applying colors D.All of the above

21. How many types of levels in style sheets? C.Three level

22. Which of the style sheet is also known as Embedded Style Sheet?A.Document Style Sheet

23. Each style rule in a rule list has …… parts:B.two`

24. A .<link>tag is used to specify thatthe browser isto fetch and use anexternal stylesheet file

26. Style sheet appears as a value of the C.style attribute.

27. Where in an HTML document is the correct place to refer to an external style sheet?
A.At the end of the documentB.At the top of the documentC.In the section D none

28. Which HTML attribute is used to define inline styles? C.style

29. The id selector is used to specify a style for D.single, unique element

30. The id selector uses the id attribute of the HTML element, and is defined with a D.”#”

1. What canbe define within a single font tag :A.Onlyface B.Only size C.only colorD.All above

2. To change default font face or size of a Web-page, use :B. basefont tag

3. Select true statement:

Statement 1:You can assign multiple valuest to face attribute of font tag.

Statement 2: If you specify a font name as face value of font tag, that is not installed on users
computer, text will be displayed in browser’s default font.

C. Both, Statement 1 and Statement 2 are true.

4. There are …4…… sets ofHTML tags that form thebasic structure neededfor every HTML
file5.tag is used to a command that is used to instruct the computer (specifically browser)?<html>

6. The Heading tag and Paragraph tag can be represented as C. <h1> and <p>

7. The HTML syntax of HTML5 requires a …………. to be specified to ensure that the browser
renders the page in standard mode. A. DOCTYPE

8. Which tag is used to identify the beginning and end of the HTML document? A. <html>

9. One of the most popular way is to specify character-set using a B. meta element

10. The doctype declaration for the HTML is B. case-insensitive

11. The sets of HTML tag is A.<html></html> B.<head></head> C.<title></title> D.All of the

12. A list which is provided with numeric digit is called an A. Ordered List

13. An Ordered List can be represented as A. <ol>

14. A list which is provided with a bullet(a black dot) is called an B. Unordered List

15. How many list of HTML is/are C. three

16. Defination list can be defined as : C. <dl>

17. What is the correct HTML for inserting an image? B. <img src=”image.gif” alt=”MyImage” />

18. What does vlink mean ? A. visited link

19. one attribute is used to identify an image as image map?C. ISMAP

20. Which one attribute is used to send the coordinate of image to the server When the user
clicks on the image? D. ISMAP

21. If you want to be sure that the image is indeed the same one that the author intended, and
hasn’t been modified in any way, which one attribute inside <img> tag is used?A. MD

22. The value of MD attribute of <img> tag can be A.MD=”MD5:some text”B.MD=”DSS1:some


text” C. MD=”SHA512:some text” D. Any of the above

23. Which one is the mandatory attribute of the <img> tag? A. SRC
24. Statement1:The <IMG> tag is used to incorporate in-line graphics (typically icons or small
graphics) into an HTML document.

Statement2:The <IMG> element is also intended for embedding other HTML text.

Statement 3:For large figures with captions and text flow see FIG element.

C. Statement 1 and statement 3 are true.

25. Which tag is used to define an image in HTML? A. <img>

26. Which type of parameter specify the path where your image is placed? C. src

27. GIF stands for: C. Graphics Interchange Format

28. Which attribute can be used to position the image? B. align attribute

29. The B. vspace and hspace indicates vertical space and horizontal space respectively.

30. The <img> tag attributes are

A. Size attribute B.Spacing attribute C.Border attribute D.All of the above

31. Which attribute define the width and height of the image? A. Size attribute

32. Which attribute can be created between image and its surrounding text by specifying
horizontal and vertical space? A. space attribute

33. Which address is include the entire pathname? C. Absolute

34. PNG stands for:A. Portable Network Graphic

35. HTML provides a functioyto connect one or more pages in web-pagesor resources.A. link

36. The <img> tag is supported by A:IE B.Mozila C.Chrome D.ALL

37. HTML provides which control to use arranging text and also in defining the things more
understandable manner A. Tables

38. A table contains rows which is defined by A. <tr> tag

39. Table data may containA. Text B. links C. tables D. All of the above

40. Which attribute in Html table is used to give a border to your table?B. border

41. A table with no border A. <table border=”0″>

42. ….. tag is used to define a table header. A. <th>

43. A table can be spanned either in A. rows B. columns C. columns or rows D.ALL

44. Which controls will be used in space between table cells? B. Celspacing

45. ‘colspan’ and ‘rowspan’ are used to define a span in column and rows respectively.

46. <td> tag stands for: C. table data

47. Which element in HTML defines sections of a web page?B. div

48. The DIV element is a A. block-level element

49. In HTML the DIV element can be found inside any element that can contain.Flow elements

50. From which element has very similar properties to the DIV element?B. span element

1.CSS provided the basic styles such as a) specifying font and font styles
b) setting margins
c) applying colors
d) All of the above
2Style sheet appears as a value of the .STYLE........attribute.
3Which of the style sheet is also known as Embedded Style Sheet? a) Document Style Sheet
4.CSS provided the basic styles such a) specifying font and font
as styles
b) setting margins
c) applying colors
d) All of the above
5.An internal style sheet should be used when a single document has a unique style
6.A CSS declaration always ends with a ; }and declaration groups are surrounded by .
7.To inserting a style sheet a)External style b) Internal style sheet: c) Inline style sheet D)All
8.An external style sheet is ideal when the style is applied to a) many pages
9.The class selector uses the HTML class attribute,and is defined with a) ":"
10.Which of the following is an attribute which specifies extra information about an element d) title
11.What is the full form of HTML? a) Hyper text markup language
12.Which of the following is a is a block level element that can be used as a container for grouping
other HTML elements ? a) <div>
13.Where in an HTML document is the correct place to refer to an externalstylesheet? a) In
the<head>section
14.To create a blank line in your web page c) insert<BR>tag
15.Which of the following is the HTML tag to make a text italic ? d) <i>
16.Which of the following is an attribute which specifies the text direction for the content in an element
? a) dir
17.Which ofthe following is the HTML tag to define metadata about an HTMLdocument?a)<meta>
18.Which of the following is the correct way of inserting an image along with the height and width of
an image ? d) <imgsrc="smiling.gif" alt="Smiling face" width="50" height="50">
A table can be spanned either in
a) rows
b) columns
c) columns or rows
d) All of the above
HTML provides which control to use arranging text and also in defining the things more
understandable manner. a) Tables
With regards to e-mail addresses: a) hey must always contain an @ symbol
b) hey can never contain space
c) they are case-insensitive
d) all of the above

Defination list can be defined as : c) <dl>


A list which is provided with numeric digit is called an Ordered List
Which of the following is an HTML tag that defines a term/name in a description list ? b) <dt>
Which of the following is used increase the row height? b) Cellpadding

<td>tag stands for a) table dimensionb) tabledate c) table data d) None of the above

You might also like