0% found this document useful (0 votes)
44 views6 pages

Basic HTML Q & A

Uploaded by

cbse 9
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
44 views6 pages

Basic HTML Q & A

Uploaded by

cbse 9
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 6
SECTION 1: OBJECTIVE TYPE QUESTION: A. Multiple Choice Question: ae ~ contain elements which define hew the information on 2 web page is ” formatted or displayed. ioe b. Tags c. Attributes d. None of these peetie= tag contains the content of your document which gets displayed on the web page of your browser window. a, b. c. d. None of these 3,. Which special property provides additional information about an HTML element? a.Tag b. Element c. Attribute d. None of these 4, The ALIGN attribute of

tag cannot take value. a. Right b. Left c. Justify d. None of these 5. Which of the following tags helps in retaining the spacing of text or displaying the preformatted spaces on a webpage in an HTML document? a. b.

 c.  d. None of these
6. Which tag adds a line horizontally on your web page?

a. 
b. ¢. d. 7. Choose the correct HTML tag to make the text italic. a. b. c. d. 8. Whatis the correct HTML tag for inserting a line break? a.
b. c. d. 9. AN HTML consists of an ON tag, the content, and an OFF tag. a. Element b.Tag c. Attribute d. None of these 10. Which character is used with the OFF tag? aend b./ c\ d< 11. The default colour of LINK attribute is IGBSE c01ty oat b. Black c, Green d, Blue 12. The entity which displays an '&’ sign on the browser is. ee b. c. & d, None of these 13. Which entity displays the ">" (greater than) sign on the browser? 3. <& GTS b. > c, & GRT d. None of these 44, [CBSE 2011] The HTML tag for the largest heading is te eee ea a. Roches c. d. None of these as 35, Which tag isused to define the basic font size for the whole document? a, b. c. d. 46. The default value of Type attribute for an unordered list is : a. Disc b. Square . Circle 4, None of these 17. Which of the following tags Is suitable for creating a numbered list? b.
    c.
      d. None of these 18. To display (X+Y)', the correct HTML code is: a, (X+Y)2 b. X+Y 2 . (X+Y) 2 4d. (X+Y) 2 19. What is the full form of DTD? a, Document To Definition b. Dynamic To Definition ¢. Document Type Definition d. Direct Type Definition 20. Anything written between is taken as a comment. a b. <2: -?> c. 4. ¢.
        | 22. Which of the following isa text editor? (CBSE 2044} a. Notepad b. Wordpad c. Both a and b d. None of these | B. Fillin the Blanks: | 2. The editor provides various tools and graphical interface where the web pages ae designed | 3, and are attributes of the
        tag | 4, The colour of the text in the HTML document can be changed using the attribute ofthe Font tag. 5. The FACE attribute of the tagis used to change the typeface or the name of the font 6. The attribute of Body tag defines the colour ofthe visited links in a document. 7. The attribute of Body tag changes the colour ofthe Active link 8. Thethree values that can be defined with tag are disc, square, and circle | 9. To specify the start value of the first item from which an ordered list should start, the | attribute isused 10. Alist created within a list is called list. | 41. The default colour of hyperlink on a web pageis (case 20il 12. The tag is used to create subscripts and tag is used to creat superscripts on a web page Case 20) 13. The attribute is used to define the thickness of horizontal rule. (case 2018) 14, The tagis used to insert line break on a web page. (cese208) Learn an KiBS LOD — ‘¢. State True or False: 4, Thetitle of a document can contain maximum 64 characters. 2. The Heading levels are part of the tag. CuO 3, The Viink tag defines the colour of the link after ithas been visited. 4, Alist can be defined in different styles. 5, The default value for
          isafilled circle, 6. Youcan start the ordered list with a different number, 7. The colour of the hyperlinks in an HTML document cannot be changed. [CBSE 2011) 8. There must be only one tag in an HTML document. [CBSE 2012) 9. Unordered list type creates a bulleted list. [CBSE 2012) 10. Physical structure refers to different parts of a document, i.e.,how a document is built. [CBSE 2017) D. Answer in One Word ora Sentenc 1. What does W3C stand for? 2. Which elements have both starting and ending tags? 3. How many heading levels can be defined in HTML? 4, Write the tag which is used as a separator between blocks of text. 5. 6 7. 8 8 Which attribute of HTML tag specifies the language used within the document? Whatis the utility of <P> tag? Which tag is used to set Font Face, Size, Color, and other attributes for the whole HTML document? What type of lists are supported by HTML? Name any one software for each of the following categories a. Text Editor b. Web Browser {A Multiple Choice Questions Li) 2) 8) SY) 7.) a) 8a) tH) a) W2.(c) 13.(6) 14. (0)—15:(0) 6. (a) 7.00) AB) 19.) 20.) 2) 22) 5.Filln the Blanks Boy 2. WYSIWYG 3. Size, wlath 4.Color 5.<FONT> 6<VLINK> 7. <A aa 9.start 10. Nested 11.8lue 12,<SUB>, <SUP> 13, Size 14 aR C. state True or False um 2.(F) 2) 4m 5.16) 6.10) 70) ac) 2m) 10. . Answer in One Word ora Sentence 1. World Wide Web Consortium 2.Containerelements — 3.<HI>to<H6> AcHR> ——S.Langattribute G.Marksablockoftextasaparagraph 7. <BASEFONT> .UnorderedOrdere.andOefiton _9,(a)Notepnd )GoepeChrome | SECTION 2: LONG ANSWER TYPE QUESTIONS-(SOLVED) 1. _ Explain the difference between a tag and an attribute. Ans: Tags are the building blocks of a web page. They contain elements which define how the information on a web pages formatted or displayed. For example, <HTML> An attribute is a property that provides additional information about an HTML element. It enhances the functionality of a tag. All attributes consist of two parts- a name and a value. For example, <BODY Bacolor = "Red">. 2. Write the syntax which explains the general structure of an HTML document, Ans: <HTML> ‘<HEAD> tag defines the HTML document header. Itis wr re document title, character set, styles, links, and scripts. It also includes information that is import <HTML> <HEAD> Header information comes here </HEAD> </HTML>> b. The <TITLE> tag is used inside the <HEAD> tag. It contains the title of the document. The ttle is displayed in the title bar at the top of the browser window and not inside the window. The title should be short and include only upto 64 characters. ‘Syntax: <HTML> <HEAD> <TITLe> Title of the Document comes here ... 4, What does tag in HTML contain? ‘Ans: The tag is the largest part of our HTML document. It contains the content of your document which ‘gets displayed on the web page of your browser window. In the Body tag, we include a number of formatting ‘elements like, images, headings, lists, and hypertext links to enhance the appearance of a web page. 5. _ Whatis the difference between a and tags? ‘Ans: The tag is used to set Font Face, Size, Colour, and other attributes for the whole HTML document. To set the font size, give a value from 1 to 7 tothe size attribute. Example: will set the font size to 4-3 = 1. ‘The tag helps in beautifying and displaying the text in a presentable manner. Its various attributes help in setting the type, size, and colour of the text, ‘Example: /ALINK and VLINK. “aos. The Alink is called an active link. This attribute specifies the colour of an active link in a document (a link is activated when itis clicked),Example: ‘When you close the website that has been opened using a link, and now you go and see the link, you will ind ‘that itil Be in purple colour. It means that the website connected to the link has already been opened using the link. Whenever you open the website containing the link until the history is erased, the Vlink will appear in purple only. Example: ‘What is the purpose of using the tags

          ...

          ? The Heading tag is used to define the different heading levels in an HTML document. These are used to emphasise the text. There are six heading levels,

          to

          . The Hi heading style displays the text in the largest size and is mainly used for main headings. The lower levels are used for subheadings. It is not essential to use these heading levels in a hierarchy, The heading tags are written within the tag, 8. What are comments and how do you give them in HTML? Comments are useful for the programmers as they can write notes for themselves explaining the source code. There are two ways of creating a comment: + Using < and--> Example: Instagram
  • Scribd - Download on the App Store
  • Scribd - Download on the App Store
Language: